Author |
Message
|
Gemz |
Posted: Tue Jun 03, 2008 9:13 am Post subject: Subscription thro CMP API Exerciser |
|
|
 Centurion
Joined: 14 Jan 2008 Posts: 124
|
Hi,
I want to do a subscription for a topic permanently. We can do this using RFHUTIL.
Is this possible to do using CMP API Exerciser?
Thanks in Advance. |
|
Back to top |
|
 |
vennela |
Posted: Tue Jun 03, 2008 11:19 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
You should be able to do that by regular java program that puts a message on the broker's queue. You don't have to do it using CMP |
|
Back to top |
|
 |
AkankshA |
Posted: Tue Jun 03, 2008 8:08 pm Post subject: Re: Subscription thro CMP API Exerciser |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
Gemz wrote: |
Is this possible to do using CMP API Exerciser?
|
AFAIK No..
Why don u build a simple subscriber flow, which builds and sends the messages to broker subscription queue _________________ Cheers |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 04, 2008 1:10 am Post subject: Re: Subscription thro CMP API Exerciser |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
never mind. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Gemz |
Posted: Wed Jun 04, 2008 1:20 am Post subject: Re: Subscription thro CMP API Exerciser |
|
|
 Centurion
Joined: 14 Jan 2008 Posts: 124
|
AkankshA wrote: |
Why don u build a simple subscriber flow, which builds and sends the messages to broker subscription queue |
I built the flow and it works fine. But we need to maintain the flow for production also.
If we can do this thro Toolkit or CMP it ll be easy since it ll become one time configuration. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 04, 2008 1:30 am Post subject: Re: Subscription thro CMP API Exerciser |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Gemz wrote: |
AkankshA wrote: |
Why don u build a simple subscriber flow, which builds and sends the messages to broker subscription queue |
I built the flow and it works fine. But we need to maintain the flow for production also.
If we can do this thro Toolkit or CMP it ll be easy since it ll become one time configuration. |
Not much different from a generic subscription flow.
Pass it the relevant xml information (topic to subscribe, subscription queue, options etc...) and have the flow build the RFH and subscribe. With a request message you'll even get a subscription reply telling you the return code for the subscription attempt.
So really not much of a maintenance problem...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|