cancel
Showing results for 
Search instead for 
Did you mean: 

Message "Lost" in a JMS adapter.

Former Member
0 Kudos

hi to all,

i need to connect XI to IBM Websphere MQ, using JMS adapter.

I did it well, i can exchange the message perfectly, but i have a strange behavior when websphere send message(XML) on queue with same_msgId for all message.

In this case i receive just the first of a series of message, and i "loose" the other, i know that the problem is the unique msgId of MQ, but how can i catch the error in jms adapter?

or how can i keep persistent the message in queue?

i've check the flag 'Transactional JMS session' to keep it persistent.

I wold like that mine JMS adapter answer with an error or don't consume the message keeping it in the queue.

thanks in advance

Claudio.

View Entire Topic
Former Member
0 Kudos

Hi Claudio,

i think your JMS adapter is working okay because it takes the first msg which it gets of a msgID...........Now xi has no way of knowing that multiple msgs it will get with same msgID as XI expects each msg to have a unique msgID.........So the problem lies with your Websphere MQ.......just see it that how you can avoid this thing of multiple msgs being generated with the same msgID by MQ as even if a batch program is creating these msgs in MQ, then also each msg should have a unique msgID for it........

Thanks,

Rajeev Gupta

Former Member
0 Kudos

thankyou Rajeev,

is the same think i had... so i can be more sure now.

ciao

Claudio.