Author |
Message
|
PatrickBlais |
Posted: Fri Jul 30, 2004 11:30 am Post subject: How to set the MQGMO_ACCEPT_TRUNCATED_MSG option with JMS? |
|
|
 Novice
Joined: 07 Apr 2004 Posts: 12 Location: Montreal
|
We are receiving Reason Code 2080 with jms...
Anyone know? _________________ Patrick Blais , Expertus Technologies Inc.
Analyste Programmeur
Courriel/Email: patrick.blais@expertus.ca |
|
Back to top |
|
 |
dwitherspoon |
Posted: Fri Aug 13, 2004 9:42 am Post subject: |
|
|
 Acolyte
Joined: 09 Dec 2003 Posts: 59
|
You cannot access the GMO options from within JMS. I've been down that road, and you can't get there. You have to live with the options that IBM's JMS provider specifies under the covers. _________________ Good...Fast...Cheap. Choose any two. |
|
Back to top |
|
 |
PatrickBlais |
Posted: Fri Aug 13, 2004 10:53 am Post subject: thanks |
|
|
 Novice
Joined: 07 Apr 2004 Posts: 12 Location: Montreal
|
thanks for the input _________________ Patrick Blais , Expertus Technologies Inc.
Analyste Programmeur
Courriel/Email: patrick.blais@expertus.ca |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 13, 2004 11:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I've never seen a problem like that in java.
Could it be that you are trying to retrieve messages greater than the maxmsgsize of the queue? (queue properties changed after msg was put?)
I would have thought that in Java the real limit was available memory...
Enjoy |
|
Back to top |
|
 |
dwitherspoon |
Posted: Fri Aug 13, 2004 11:31 am Post subject: |
|
|
 Acolyte
Joined: 09 Dec 2003 Posts: 59
|
When I saw it, my thought was the the queue definition is set up to handle messages smaller than what had been received. _________________ Good...Fast...Cheap. Choose any two. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Aug 13, 2004 4:51 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If the value of Max Message Length is reduced, any messages that are already on the queue whose length exceeds the new maximum are not affected. (from the manuals) _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Aug 14, 2004 5:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
If the value of Max Message Length is reduced, any messages that are already on the queue whose length exceeds the new maximum are not affected. (from the manuals) |
This is pretty clear. The message integrity is maintained.
But can you still retrieve it using Java/JMS ?. Could you get a weird error like message too big? Would you need to reset the maxmsglength on the queue to something big enough before retrieving the message ?
Sorry don't have the time to play around with it or I would have checked it myself. |
|
Back to top |
|
 |
|