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 » Dynamic Queues/Flows and ESQL

Post new topic  Reply to topic
 Dynamic Queues/Flows and ESQL « View previous topic :: View next topic » 
Author Message
FTAmir
PostPosted: Thu Nov 10, 2005 11:53 am    Post subject: Dynamic Queues/Flows and ESQL Reply with quote

Newbie

Joined: 10 Nov 2005
Posts: 3

Hi All...new to this forum and WBIMB
How can I create a dynamic queue while processing in a compute node for instance using ESQL? or other ways while still in the flow!!!??

Or lets put it this way, how can the Broker store "state information"..easiest way...
Thanks+Regards..
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 10, 2005 11:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Dynamic queues are created when a model queue is opened. So, all you need to do is configure your flow to open a model queue...

Alternately, you can use PCF messages - assuming your queue manager has a command server running and your MQ administrator will let you do this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Nov 10, 2005 12:00 pm    Post subject: Reply with quote

Jedi Knight

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

Quote:
Hi All...new to this forum and WBIMB
Why don't you tell us what problem you are trying to solve with dynamic queues, we might have other (better) ideas
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
FTAmir
PostPosted: Thu Nov 10, 2005 12:13 pm    Post subject: Reply with quote

Newbie

Joined: 10 Nov 2005
Posts: 3

wschutz wrote:
Quote:
Hi All...new to this forum and WBIMB
Why don't you tell us what problem you are trying to solve with dynamic queues, we might have other (better) ideas


Thanks Wayne...Great!
I am trying to get the Broker to store state..somehow! One way is to use a java plug-in which holds a collection object (key=MessageID/value) and then we can "put" on request and "get" on reply. Another way, if I am not mistaken is to use an Aggregation Node which persists the state data in a DB (oops! people don't like hitting DB for every incoming request msg). I am not sure of the Aggregation Node has an internal cache so it saves some DB attempt. I was thinking about the synamic queues as well: create a dynamic queue with the unique message ID and store the state data in it...the reply process uses the Messgae Id and reads the data off of the Dyn. queue and then it delets it.

As I said, I am new to WBIMB..so I might be just imagining things at the moment
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 10, 2005 12:14 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What version of WBIMB?

There's the Cache node for v5 and earlier, and a built-in cache mechanism for v6 (if I remember right).
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Nov 10, 2005 12:22 pm    Post subject: Reply with quote

Jedi Knight

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

The problem with dynamic queues is that you can create them easy enough (when you MQOutput with a model queue name, it creats a dynamic queue), but afaik there is not way to set or get the name of the created queue.

V6 does introduce a "semi-persistent" cache (which goes away on broker restart or redeploy of the flow), so it would be best to couple that cache with a hardened write to a database (so if you find the cache empty, you can populate it from the database). Not sure about the persistence of the V5 supportpac.

I'm not sure aggregation nodes helps you much. (btw, in V6, the state information of the nodes in held in a queue, no longer in a db).

Hope this helps......
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
FTAmir
PostPosted: Thu Nov 10, 2005 12:40 pm    Post subject: Reply with quote

Newbie

Joined: 10 Nov 2005
Posts: 3

Thanks very much guys, We use V5 at the moment and we know about the goodies in V6. Seems like we have to live with the current implementation till we find an "WBIMB centric" solution in >= V6.

Wayne, I am not sure about how you explained the Dyn. Q using the MQOutput...could you elaborate on that or any doc/ref.
Cheers..
A
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 » Dynamic Queues/Flows and ESQL
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.