🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
JMS header properties
Hi Everyone,
I am sending data from Solace to Boomi using JMS connector.
Can someone help me with appropriate header properties for JMS like we have for REST as shown below ?
Solace-Time-To-Live-In-ms:
Solace-DMQ-Eligible: [true|false]
Solace-Delivery-Mode: [Direct | Non-Persistent | Persistent]
Destination:
Solace-Correlation-ID:
Solace-Reply-To-Destination: /(QUEUE |TOPIC)/
Answers
-
Hi Naga,
The table at this link will give you info about how JMS Header fields map to their Solace equivalents. Most of your items are covered there.
https://docs.solace.com/Solace-JMS-API/Message-Components.htm#HeaderAnd TTL & DMQ Eligibility can be found at the link below.
https://docs.solace.com/Solace-JMS-API/Setting-Message-Properties.htm#Time-to-2 -
Hi Marc,
When i set this SOLACE_JMS_PROP_DEAD_MSG_QUEUE_ELIGIBLE in boomi process property and pushed messages to Solace I am not seeing this property in messages when browsed from solace queue.
What is the correct way to add this property in Boomi ? Could you please help ?0 -
Does Boomi JMS connection use a Solace JMS Connection Factory? If so, you can set "default-dmq-eligible" to true in the connection factory, using SolAdmin or CLI:
0021f5c91477> show jndi connection-factory * detail
Connection Factory : /jms/cf/default
Message VPN : default
messaging-properties : 6
default-delivery-mode : persistent
text-msg-xml-payload : true
default-dmq-eligible : false <-----------
default-eliding-eligible : false
xa : true
jmsx-user-id-enabled : false
transport-properties : 17
connect-timeout : 30000
read-timeout : 10000
...0 -
Hi Naga, yes, as a matter of best practice, you should create a consumer for every DMQ. If you've configured a DMQ the expectation is that you want to keep the messages. Having a DMQ over-flowing because no-one is doing anything with the messages breaks this model. If you don't want to consume the messages, do you need a DMQ in the first place?
1 -
Hi @TomF, for your info. You can set a custom connection factory on the Boomi side when using the JMS Server Type "Generic JNDI". The strange thing is that, if you choose Solace as JMS server type, you can't. I assume Boomi is then using "/jms/cf/default". See screenshots
0 -
The Solace branded JMS connector does not use JNDI.
I have added a comment that explains the difference between the connectors - https://solace.community/discussion/comment/312#Comment_3121