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 » WebSphere Message Broker (ACE) Support » WMBv6 MQGET Node Browse the message

Post new topic  Reply to topic
 WMBv6 MQGET Node Browse the message « View previous topic :: View next topic » 
Author Message
venusboy
PostPosted: Thu Jul 20, 2006 11:24 am    Post subject: WMBv6 MQGET Node Browse the message Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

Hi,

I need to browse a message on a queue. Does the MQGET node support a non-destructive get?

I can specify the MQGMO option for example to 'MQGMO_BROWSE_FIRST', but how do I actually open the queue with a MQOO_BROWSE option?

This must be really obvious, but can someone point me in the direction.

Regards,

Tom,
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Jul 20, 2006 11:36 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

No, MQGET does not currently support BROWSE.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
venusboy
PostPosted: Thu Jul 20, 2006 11:39 am    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

Oh, that's kinda odd. Did the old MQGet support pack support a browse operation?

So my other option is to write a custom node to perform this action. Is this recommended? Is there another option?

Thanks

Tom.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Jul 20, 2006 12:04 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

It would be an easy java compute node.

Hint...you can get the qmgr name via:
Code:
MbNode.getBroker()
MbBroker.getQueueManagerName()

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
venusboy
PostPosted: Thu Jul 20, 2006 3:44 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

wschutz - as usually you come up with the goods and thanks for the fast reply.

I know it would be easy to implement (may be too easy), but my main worry is if IBM would support creating a new WMQ JMS transaction within the broker (what if I need XA - can I use the JMS-XA API) - I only state this as they (IBM) would never fully support the previous MQGet node (even though major clients need this to be fully supported) and at one point they nearly moved it down a support level.

I do remember in v5 there were quite a few -do not do-- warning against custom written nodes, but now custom nodes seems to be a bit of a 'whatever' situation - e.g, they make reference to the Java Mail API. I only state this as ifor example in WAS they IBM (I suppose cos it was against the J2EE spec) would never support reading Files from within Server. Is there any such do not do within WMBv6?

I suppose in my situation this is just an inquiry request on a read-only message so I cannot perform any damage on the system.

Thanks again.

Regards,

Tom.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 20, 2006 8:23 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Well I don't know but first I would question the design that needs me to browse a message on the get node. What are you trying to accomplish and can that be done by any other means?

Enjoy
_________________
MQ & Broker admin
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 » WebSphere Message Broker (ACE) Support » WMBv6 MQGET Node Browse the message
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.