n***@techno.ms
2007-08-01 10:17:46 UTC
Hi!
In our application we try to send messages to a MQ JMS Queue to a remote system. In case of network errors, however, we want to save the message somewhere else for now and continue.
The trouble however is that we did not find a timeout setting for the sending of JMS messages. Thus, the sending of the message will hang in case of connection problems for about two minutes, before sending a timeout. This is much too long for our purposes, since this happens within a webservice call. What can we do?
There is a timeout setting at
WebSphere-MQ-Messaging-Provider > connection factories for mq queues > ... > connection pools,
but this doesn't seem to apply in this case. We both want to reduce the timeout for creating connections and for sending a message.
Thanks for any help!
Best regards,
Hans-Peter Stoerr
PS: We are using Websphere Application Server 6.0
In our application we try to send messages to a MQ JMS Queue to a remote system. In case of network errors, however, we want to save the message somewhere else for now and continue.
The trouble however is that we did not find a timeout setting for the sending of JMS messages. Thus, the sending of the message will hang in case of connection problems for about two minutes, before sending a timeout. This is much too long for our purposes, since this happens within a webservice call. What can we do?
There is a timeout setting at
WebSphere-MQ-Messaging-Provider > connection factories for mq queues > ... > connection pools,
but this doesn't seem to apply in this case. We both want to reduce the timeout for creating connections and for sending a message.
Thanks for any help!
Best regards,
Hans-Peter Stoerr
PS: We are using Websphere Application Server 6.0