Daily using/supporting

Get Firefox browser!
Get Thunderbird!
Get Opera browser!
Get The Gimp!
Get Inkscape!
Get LibreOffice!
Get Videolan!
Get Linux!
Get Mandriva!
Get Joomla!
Hacker Emblem

Archives

Which topics would you like us to cover more?

Latest comments

Latest tweets

about 1 day ago Using REDIPS.drag to add drag and drop to your .Net webapplication #li #dib0 http://t.co/n8zY3s7d
about 7 days ago http://t.co/cknQcDbo #Kindle
about 15 days ago Freedom isn't the ability to choose what to do or say, but the ability to choose what not to do or say #freedom
about 29 days ago http://t.co/61KTQknI #Kindle
12 Apr 2012 Force the use of a networking adapter using C# #li #dib0 http://t.co/ZTJOPzOz
9 Apr 2012 Mandriva 2010.2 and USB devices in Virtualbox http://t.co/fwq9gbHB
9 Apr 2012 Execute a http request to you own site with PHP http://t.co/DIvWPrpd
Home Architecture, security and coding Persistent messages with IBM MQ
Persistent messages with IBM MQ
Written by Division by Zero   
Wednesday, 23 June 2010 09:11

Today we had an issue with persistent messages on IBM MQ for the second time.

The first was about two years ago. The default setting on our queues is persistent and the code we once wrote (and use over and over again) didn't set the persistence of the message. The default value is non-persistent, but we thought the queue setting would override this default. Turns out it didn't. Since that time we set the persistence of our messages.

Today I learned from one of my colleagues that his application didn't receive an answer. Turns out that the expiry time also matters. If a persistent message expires, it we be thrown away. So, besides setting the persistence, also set the expiry time: Expiry == MQC.MQEI_UNLIMITED; (the value of MQC.MQEI_UNLIMITED is -1).

 

Add comment


Security code
Refresh

I think, therefore I am. - R. Descartes


© 2009 - 2012, Division by Zero

Template based on the empire template by joomlashack 

Valid XHTML 1.0 Strict  Valid CSS!  Creative Commons License
This work by Division by Zero is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Netherlands License.