Author |
Message
|
AkankshA |
Posted: Sun Jun 25, 2006 4:14 am Post subject: pub sub subscription activation time |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
HI,
I am working with MB v6 pub sub....
My subscription message will contain the activation time and i want the broker to understand the same and send me the publication messages only after the time specified.....
any idea |
|
Back to top |
|
 |
vennela |
Posted: Sun Jun 25, 2006 10:05 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I looked at the Register Subscriber message and I don't see a direct way of doing this. But maybe there are workarounds. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Jun 25, 2006 10:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Just don't subscribe until you're ready to receive data. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
AkankshA |
Posted: Sun Jun 25, 2006 8:45 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
No i can not subscribe at that point.....
i want to subscribe in advanvce and i need that messages should be sent to me only after a specified time/date |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 26, 2006 1:52 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You need to reexamine these requirements, then.
It's not part of the Pub/Sub functions that Broker provides.
It's not part of the JMS standard, as far as I know, either. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
AkankshA |
Posted: Sun Jul 30, 2006 10:44 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
we are planning to implement this using timeoutnotification and timeoutrcontrol node... but i suppose this would involve lot of coding and would be purely a customized solution.....
has anyone done something like this before...
any sugestions |
|
Back to top |
|
 |
EAI Developer |
Posted: Mon Jul 31, 2006 2:16 am Post subject: |
|
|
 Centurion
Joined: 30 Nov 2005 Posts: 101 Location: US
|
Hi Akanksha,
Yeah U can do it using "timeoutnotification and timeoutrcontrol node" and it requires little coding,,just check it out in info center.we can decide the date of subscription in the run time also using this.For this check Timeout message.
Cheers,
EAI Developer. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 31, 2006 3:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you thought about using a message with the expiry set to your subscription begin time? You would need a timeout notification to be sent to a specific queue that would then run a flow to register the subscription...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|