Author |
Message
|
pratik_oze |
Posted: Fri Nov 04, 2011 1:31 am Post subject: Issues with multiple instances of message flows. |
|
|
Apprentice
Joined: 22 Jun 2004 Posts: 34
|
Hi,
We are facing a issue with multiple instances of a flow deployed on an execution group. The flow is retreiving data from the cache which is used for further processing. But while the flow is triggered with say 60 messages- 15 messsages fail to get the cached data , rest messages are processed fine.
Does anbody have any pointers to such issues? |
|
Back to top |
|
 |
Esa |
Posted: Fri Nov 04, 2011 2:16 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Seems to me like you have't locked the cache object properly while populationg it.
The first instance starts populating the cache from somewhere. This takes some time, of course, othewise you wouldn't be using a cache. And the next instances get an empty cache untill it's been populated by the first instance... |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Nov 04, 2011 6:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Are you making use of the keyword ATOMIC ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
pratik_oze |
Posted: Sun Nov 06, 2011 7:22 am Post subject: |
|
|
Apprentice
Joined: 22 Jun 2004 Posts: 34
|
Hi,
The issue was resolved by changing the Parser to XMLNS from XMLNSC in the code. The cache retrived in XML format was failing sometimes due to this parse and chnage of parser has worked. |
|
Back to top |
|
 |
Vitor |
Posted: Sun Nov 06, 2011 9:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pratik_oze wrote: |
The cache retrived in XML format was failing sometimes due to this parse and chnage of parser has worked. |
If the cache really was in XML format then both parsers should have been able to parse it. I put it to you that it was in fact in some format which to the naked eye looked like XML but wasn't to the extent that it still looked like XML after the compact parser had processed it.
What was the parse error? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|