Posted: Wed Oct 31, 2012 5:46 pm Post subject: How to make MQ Message as Non-Persistent and set some Expiry
Centurion
Joined: 26 Oct 2012 Posts: 118
We have an Application developer who is using JMS MQ API to send messages to MQ Infrastructure. The problem is he is putting messages as "Persistent" and "Non-Expiry". In our Infrastructure the standard is MQ Messages should be "Non-Persistent" and should have some expiry value. He is trying for so many days but he is not able to identify what parameters that need to be altered so that messages are put to MQ as Non-Persistent and have some expiry.
I'm an MQ Admin and i don't know the developing part of it. So It would be very helpful if some one can suggest what exactly needs to be changed in JMS MQ API to have MQ messages changed to Non-Persistent and with Some Expiry.
In JMS the persistency attribute is set on the destination. The TTL (time to live) is set by using a more complicate send interface of the producer.
Have fun _________________ MQ & Broker admin
yes, this is not standard for all kinds of messages and also varies by application. I thought i was referring to this particular issue in hand.
Thanks for the reply.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
searchjoe,
Welcome to this forum.
However what was really gained by reopening an almost 2year old thread with your post.
The subject of the thread is not exactly a hot topic here so should have probably remained dormant until someone else asked about it. Then you could have supplied your answer at that point. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum