Steps to Configure Delayed Message Consumption
Dear All,
We want to introduce delay for the Messages, so we are using TTL value and Respect TTL property of a Queue, but unable to publish message using TIBCOBW Palettes since we are getting the below error.
Problem is how to connect to the queue with Respect TTL parameter using TIBCO BW JMS Palette ?
Error:
BW-JMS-100013 process initialization failed for POCSender.process
caused by: Initialization error in [POCSender.process/JMS Queue Sender]
caused by: Error creating dynamic queue with name [astestqueue].
caused by: com.solacesystems.jms.ConfigurationException: Error creating queue - mismatched respect ttl (Respect TTL mismatch. (RESPECT_TTL mismatch, expected=true))
Caused by: com.solacesystems.jcsmp.PropertyMismatchException: Respect TTL mismatch. (RESPECT_TTL mismatch, expected=true)
... 29 more
linked JMS exception: JNDI lookup of queue name [astestqueue] failed.
caused by: javax.naming.NameNotFoundException: JNDI lookup of "astestqueue" failed - not found
Thanks,
Surya |
Best Answer
-
Hi Surya,
So I haven't gotten a chance to test this out myself as I don't have Tibco BW available but can you check and see if the queue already exists on the broker. And if so make sure the Respect TTL is toggled on (I believe by default it's off) or if you want Tibco BW to create the queue dynamically (as it looks like it's trying to do in the error message) then try removing the queue.
-Marc6
Answers
-
Hi Surya,
So I haven't gotten a chance to test this out myself as I don't have Tibco BW available but can you check and see if the queue already exists on the broker. And if so make sure the Respect TTL is toggled on (I believe by default it's off) or if you want Tibco BW to create the queue dynamically (as it looks like it's trying to do in the error message) then try removing the queue.
-Marc6 -
@surya kumar were you able to get this working? If so, please click the “Yes” on
Did this answer the question?
where appropriate so that others can benefit! And if not, please let us know so we can continue to assist!0