solace

Do messages on a solace queue need to be acked in the order they are on the queue?

别说谁变了你拦得住时间么 提交于 2020-01-05 04:11:12
问题 I have worker threads that pick up messages from different provider classes. Each provider class adds/takes messages of an internal queue. Each provider caters to only one solace queue and the solace consumer adds messages to the provider of the queue. Multiple workers can take messages of a provider, process them and then send an ack for the message (the message.commit() method below does the ack). Scenario Worker1 picks up message1 for processing from provider1 Worker2 picks up message2 for

how to remove clients with semp in solace

有些话、适合烂在心里 提交于 2020-01-03 06:37:10
问题 How remove client by semp in solace.I try it like follows: <rpc xmlns="http://www.solacesystems.com/semp/topic_routing/d35m1"> <no><client-username><username>user1</username> <vpn-name>jiavpn</vpn-name> </client-username></no></rpc> but it alert me "Command is not allowed via SEMP over the message bus", did it have some relation with the SEMP TOPIC,my topic is #SEMP/soalce1/SHOW. thanks for answer 回答1: Answer is invalid. There is an error with the documentation which will be fixed in the next

how to remove clients with semp in solace

巧了我就是萌 提交于 2020-01-03 06:37:01
问题 How remove client by semp in solace.I try it like follows: <rpc xmlns="http://www.solacesystems.com/semp/topic_routing/d35m1"> <no><client-username><username>user1</username> <vpn-name>jiavpn</vpn-name> </client-username></no></rpc> but it alert me "Command is not allowed via SEMP over the message bus", did it have some relation with the SEMP TOPIC,my topic is #SEMP/soalce1/SHOW. thanks for answer 回答1: Answer is invalid. There is an error with the documentation which will be fixed in the next

Is there any example of JMS implementaion with XA transactions with Solace

百般思念 提交于 2019-12-24 07:26:15
问题 I would like to find usefull example of JMS implementaion with XA transactions with Solace 回答1: The Solace JMS API contains a XATransactions.java example in the samples directory that shows how you can make use of XA transactions in your application. Note that the sample code is manually managing the XA transaction by calling the relevant XAResource methods such as XAResource.commit() . XA transactions are usually used within Java EE application servers that contain a transaction manager to

How to send the header along with payload in Solace

浪子不回头ぞ 提交于 2019-12-12 01:54:33
问题 We have requirement to send header information too along with payload to Solace. How can we achieve this? 回答1: Solace messages allow users to set custom user property (a.k.a header) fields along with the message payload. It is usually required to first insert the desired headers into a Structured Data Map (SDTMap) and then set the SDTMap as the user property section of the message. Java XMLMessage.setProperties() C solClient_msg_createUserPropertyMap() .NET IMessage.CreateUserPropertyMap()

Error Casting Spring's JndiObjectFactoryBean to ConnectionFactory for Solace-MQ JMS

房东的猫 提交于 2019-12-10 20:51:24
问题 I have a good working XML configuration for Camel Context that uses JNDI with Spring Later Solace.JndiObjectFactoryBean gets used as connectionFactory <bean id="Solace.JmsComponent" class=" on"> <property name="connectionFactory" ref="Solace.JndiObjectFactoryBean" /> <property name="destinationResolver" ref="Solace.JndiDestinationResolver" /> </bean> I am trying to convert this into a Java class that extends from org.apache.camel.spring.javaconfig.CamelConfiguration . But there is one problem

How do I programmatically disconnect clients which are connected to Solace appliance?

时光怂恿深爱的人放手 提交于 2019-12-08 03:27:54
问题 As Solace does not support deleting and disconnecting client via SEMP over a message bus, as mentioned here, may I know how do I do that programmatically? I need to manage clients, especially client connection from my application. Can I run trigger CLI scripts from my program to achieve that? Thank you. 回答1: Disconnecting a client is an administrative action that can only be executed by management users over the management interface. Client applications are not allowed to execute this action.

Error Casting Spring&#039;s JndiObjectFactoryBean to ConnectionFactory for Solace-MQ JMS

匿名 (未验证) 提交于 2019-12-03 01:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a good working XML configuration for Camel Context that uses JNDI with Spring Later Solace.JndiObjectFactoryBean gets used as connectionFactory <bean id="Solace.JmsComponent" class=" on"> <property name="connectionFactory" ref="Solace.JndiObjectFactoryBean" /> <property name="destinationResolver" ref="Solace.JndiDestinationResolver" /> </bean> I am trying to convert this into a Java class that extends from org.apache.camel.spring.javaconfig.CamelConfiguration . But there is one problem. When I try to set a connection factory on JMS