-
1. Re: Redelivery when using InVM
asif_phx Jun 24, 2010 5:19 PM (in response to eric_bustad)Eric,
If you are using http-gateway as a listener you can set response timeout as
<listeners>
<http-gateway name="Http" urlPattern="esb-cars/*">
<property value="120000"/>
</http-gateway>
</listeners>
More information can be found here
http://community.jboss.org/wiki/HTTPGateway#Response_Timeout
asif
-
2. Re: Redelivery when using InVM
eric_bustad Jun 24, 2010 7:06 PM (in response to asif_phx)Thanks, I will give that a try!
-
3. Re: Redelivery when using InVM
eric_bustad Jul 8, 2010 12:49 PM (in response to eric_bustad)OK setting the
synchronousTimeout property with a value lf 12000 didn't seem to make any difference. But I have found that setting
org.jboss.soa.esb.ws.timeout in jbossesb-properties.xml solves the problem for me. -
4. Re: Redelivery when using InVM
alexpalumbo Jun 3, 2011 6:08 AM (in response to eric_bustad)Hi, org.jboss.soa.esb.dls.redeliver affects only the DLQ handling when something bad happens, by default is true.
The property org.jboss.soa.esb.exceptionOnDeliverFailure is releated to the redelivery, by default is false if you set it to true you will force the service invoker to not redeliver the message.
Those properties can be set in the jbossesb-properties.xml in the jbossesb.sar under the deploy folder in the "core" section , this will affect any service.
Those properties can be set per message so that you can control that behaviour for each message. To set those properties you could use a custom messagefilter (it's still configured in the jbossesb-properties.xml) or you could use a specific message compeser configured on the listener of the specific service (should be a property named composer-class).
Regards
Alessandro
p.s. Sorry for the late reply