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 » MQGET From within a flow?

Post new topic  Reply to topic
 MQGET From within a flow? « View previous topic :: View next topic » 
Author Message
lanny boy
PostPosted: Tue Sep 07, 2004 2:42 am    Post subject: MQGET From within a flow? Reply with quote

Voyager

Joined: 24 Nov 2003
Posts: 79
Location: UK

Hi

I have an application that needs to be dynamically opened and closed via an MQ message. I have a cron job that will open the app and will get a return message containing a session id which will sit on a queue until I am ready to close the app.

Another cron job will close the app, but it needs the session id to do this. Is it possible to access, (using ESQL), the stored message from within a flow and retrieve the data?

I am just curious if there is an altenative to storing the data in a DB.

I am on V2.1 CSD 06.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 07, 2004 5:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It sounds like you need to rethink your entire design.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
lanny boy
PostPosted: Tue Sep 07, 2004 5:59 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2003
Posts: 79
Location: UK

Thanks for the reply Jeff.

Unfortunately much of the design for this project is out of my control.
The reality is that I need to use a session ID which I have been sent 20 hours previously.

I am simply invstigating whther it is possible to interrogate a queue from within a flow rather than write the sessionID to a database.

Lanny Boy.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 07, 2004 6:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There is an MQGet support pack node. It supplies a custom node that will retrieve messages from a queue and insert them into the message tree where information can be manipulated using ESQL.

It is currently withdrawn, because it is not immediately compatible with version 5.

If you search here for MQGet, you should find a link to the withdrawn support pack.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Sep 07, 2004 10:35 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

How are you communicating with your cron jobs from your Message Flows?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
lanny boy
PostPosted: Wed Sep 08, 2004 12:16 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2003
Posts: 79
Location: UK

Hi Kiran

All the cron jobs are doing is putting a one word command on a nominated queue (eg 'Open' or 'Close').

Depending on the command I will attempt to retrieve the session ID stored on another queue (or from the database).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQGET From within a flow?
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.