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 » MQ Input Browse

Post new topic  Reply to topic
 MQ Input Browse « View previous topic :: View next topic » 
Author Message
nishantmodak
PostPosted: Thu Jul 02, 2009 11:11 am    Post subject: MQ Input Browse Reply with quote

Novice

Joined: 25 May 2009
Posts: 19

I have a flow,

MQ Input --> Compute --> HTTP Request --> Soap Extract -> Compute -> MQ Get -> MQ output.


1. MQ Input --> I have set browse option.
2. When I get success from HTTP .. by examining in compute... Then I need to remove the message from input queue. Hence, I use MQ Get again by giving the MQMD details stored in Environment.MQMD..
3. Even then, MQGet goes to the 'No Message' terminal, and the message is not retrieved.
I have set use MQMD header.. on Request Tab.. and given MQMD Location as Environment.MQMD...

how can i solve this, so that the MQGet reads the message from the queue?

Thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 02, 2009 11:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The MQInput node has already removed the message from the input queue.

That's what it *does*.

This question, and almost every question you will have as follow ups - including "how do I put the message back if something goes wrong" are addressed in day 1 of broker training, and are *basic* use of the product.
Back to top
View user's profile Send private message
nishantmodak
PostPosted: Thu Jul 02, 2009 11:31 am    Post subject: Reply with quote

Novice

Joined: 25 May 2009
Posts: 19

Thats not correct.
In this case MQ Input will *not* remove the message from the input queue, because the MQBrowse option is set.

This is also confirmed by later reading the message from the same 'input' queue.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 02, 2009 11:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447



missed that little "browse" comment.

Possibly you have not saved MQMD into the Environment tree such that it is still under an MQMD parser.
Back to top
View user's profile Send private message
nishantmodak
PostPosted: Thu Jul 02, 2009 11:45 am    Post subject: Reply with quote

Novice

Joined: 25 May 2009
Posts: 19

I use MQ Get again by giving the MQMD details stored in Environment.MQMD..

on MQGet Input MQMD Location.. I give.. Environment.MQMD..
alongwith that, I Set the OutputRoot.MQMD = Environment.MQMD...

both do not work..
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 02, 2009 12:04 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Yes.

What I meant was, when you *wrote* the MQMD into Environment, it may not have been Written correctly.
Back to top
View user's profile Send private message
nishantmodak
PostPosted: Thu Jul 02, 2009 12:15 pm    Post subject: Reply with quote

Novice

Joined: 25 May 2009
Posts: 19

What is the *correct* way to write that?

I thought,

Environment.MQMD = InputRoot.MQMD should work?

Am i missing something?

Thanks
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu Jul 02, 2009 12:23 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi nishantmodak,

Search for Environment with DOMAIN clause.

Regards.
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 » MQ Input Browse
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.