Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10052

Re: Duplicate message error in JMS adapter

$
0
0

Hi Ashish,

 

I'm with Agasthuri on this one - this doesn't sound right at all - or at least it doesn't sound like a proper failover solution or at least not a 'hot' one. In a case like this - the failover needs to be almost realtime so that the 2 queues on both server's are almost identical at any given point in time.

 

So currently you switch over to the other server when one fails and start picking up messages that you have already processed.

 

How would you like to handle this in terms of the duplicate messages? Is it transaction sensitive data or are you able to re-process "already-processed" messages without any impact?

 

If so, you can manipulate how long the duplicate check is active for in the sender JMS channel (Time period for duplicate check setting)

http://help.sap.com/saphelp_nw73/helpdata/en/F4/2D6189F0E27A4894AD517961762DB7/frameset.htm

 

Alternatively, get Tibco to fix it because it's really their issue to fix.

 

>> After sending a message, if server failed without getting a response it marked the message as incomplete and other server send that message again. Due to that duplicate error message occurred.

 

This makes no sense to me. When PI polls the JMS queue and picks up a message successfully, it the removes the message from the queue so that it doesn't get processed again. What response is the Tibco server getting from your PI in your case that marks it as complete? Even if the server was regenerating a message (marked as incomplete) again, it would not generate it with the same message-id, it would be a new message-id.

 

Regards, Trevor


Viewing all articles
Browse latest Browse all 10052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>