ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » How to set the MQGMO_ACCEPT_TRUNCATED_MSG option with JMS?

Post new topic  Reply to topic
 How to set the MQGMO_ACCEPT_TRUNCATED_MSG option with JMS? « View previous topic :: View next topic » 
Author Message
PatrickBlais
PostPosted: Fri Jul 30, 2004 11:30 am    Post subject: How to set the MQGMO_ACCEPT_TRUNCATED_MSG option with JMS? Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
dwitherspoon
PostPosted: Fri Aug 13, 2004 9:42 am    Post subject: Reply with quote

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
View user's profile Send private message
PatrickBlais
PostPosted: Fri Aug 13, 2004 10:53 am    Post subject: thanks Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
fjb_saper
PostPosted: Fri Aug 13, 2004 11:04 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
dwitherspoon
PostPosted: Fri Aug 13, 2004 11:31 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Fri Aug 13, 2004 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sat Aug 14, 2004 5:39 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to set the MQGMO_ACCEPT_TRUNCATED_MSG option with JMS?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.