Author |
Message
|
anilchauhanmanu |
Posted: Tue Jul 26, 2011 1:17 am Post subject: Message lost in floow |
|
|
Newbie
Joined: 26 Jul 2011 Posts: 9
|
In My flow , where PUB SUB case is using .
where i will find message If no one has subscribed for those topics. |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Tue Jul 26, 2011 1:23 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
|
Back to top |
|
 |
anilchauhanmanu |
Posted: Tue Jul 26, 2011 1:46 am Post subject: |
|
|
Newbie
Joined: 26 Jul 2011 Posts: 9
|
Hi,
Thanks for reply.....But what i can do to avoid loosing message |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Jul 26, 2011 2:54 am Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
anilchauhanmanu wrote: |
Hi,
Thanks for reply.....But what i can do to avoid loosing message |
Make it a retained message. Then it won't be so loose. _________________ Glenn |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Jul 26, 2011 4:27 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
I hate it when I loose messages. By using a Singleton, I can track them through the system. That way, when they drop on the floor, at least I know which node dropped the message.
Vitor says: Singleton ... !!  _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jul 26, 2011 4:31 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
A message that is published to 0 subscribers is not lost.
It is delivered successfully to all eligible receivers.
If your concern is to track all messages produced, regardless of who is interested in them, then you should create a program that subscribes to everything, and have it log the messages that it receives.
Then there will never be a topic with 0 subscribers.
And you can do something sensible to log the messages like use a database, rather than storing them in memory in a singleton that will get lost if the JVM dies. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 26, 2011 4:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
I hate it when I loose messages. By using a Singleton, I can track them through the system. That way, when they drop on the floor, at least I know which node dropped the message.
Vitor says: Singleton ... !!  |
But if you read the post rather than just the words you wish it said, this isn't a lost message, as my most worthy associate points out.
Also if you want to track messages through a flow I put it to you that using WMB monitoring is better than a Singleton as that works on all nodes not just a JCN.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Jul 26, 2011 5:59 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
|