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 » General Discussion » 2045 error on MQGET

Post new topic  Reply to topic
 2045 error on MQGET « View previous topic :: View next topic » 
Author Message
ucbus1
PostPosted: Fri May 07, 2004 2:02 pm    Post subject: 2045 error on MQGET Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

I have a remote Q "XYZ" on Queue manager "ABC" on node 1. The queues "XYZ" is local on queuemanger "FGH" on node2.
Now I am trying to get messaes from remote queue using options
MQOO_INPUT_EXCLUSIVE whic is giving me error 2045. Obviously the mqoptions for open are wrong.
Can soembody tell me how can I get messages from remote queue in a java program and what options I need to open the remote queue for getting messages.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri May 07, 2004 2:18 pm    Post subject: Re: 2045 error on MQGET Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ucbus wrote:
Now I am trying to get messaes from remote queue


You can't do that.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
clindsey
PostPosted: Fri May 07, 2004 6:16 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

You can let your java app connect to the remote queue manager using client bindings and get messages from the queue, in effect making it a local Get.

Charlie
Back to top
View user's profile Send private message
ucbus1
PostPosted: Sat May 08, 2004 3:18 pm    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Code:
You can let your java app connect to the remote queue manager using client bindings and get messages from the queue, in effect making it a local Get.

What options do I have to specify in my code?
Please let me know
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sat May 08, 2004 5:07 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please read the Using Java manual.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
techno
PostPosted: Sun May 09, 2004 8:22 pm    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

I am wondering how can you get messages when a (rmt) queue does not have messages?
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon May 10, 2004 5:13 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

techno wrote:
I am wondering how can you get messages when a (rmt) queue does not have messages?


I must be missing something. If the queue (regardless of where it is) doesn't have any messages, then you can't get them.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » 2045 error on MQGET
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.