Copy messages why does it choke on large sizes?

General questions on how to use Hermes or problems encountered

Copy messages why does it choke on large sizes?

Postby steffi2 » Wed Jan 20, 2010 11:48 pm

Are all messages written to the destination in one transaction?

Whenever I try to copy 10k messages it will error with MQ

I'm always forced to do it in smaller batches.

How can I have Hermes do this for me where each batch of messages is it's own transaction?
steffi2
 
Posts: 7
Joined: Sat Sep 12, 2009 5:11 am

Re: Copy messages why does it choke on large sizes?

Postby steffi2 » Wed Jan 20, 2010 11:51 pm

Error you get is always

MQJMS2007 failed to send message to MQ queue

MQJE001 : Completion Code 2, Reason 2003
steffi2
 
Posts: 7
Joined: Sat Sep 12, 2009 5:11 am

Re: Copy messages why does it choke on large sizes?

Postby Colin » Thu Jan 21, 2010 1:11 pm

Thats a WebSphereMQ error message - I suspect there is a limit on the number of messages in a transaction.

You can probably change the value on the MQ manager.

Alternatively if you set the session in Hermes to non-transacted then they'll get put on the queue one by one rather than in one big sync point.

Regards,

Colin.
Colin
Site Admin
 
Posts: 835
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK


Return to Using Hermes

Who is online

Users browsing this forum: No registered users and 1 guest