camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nezor <Kyle.Eckh...@oeconnection.com>
Subject Re: Odd AMQ Transaction Behavior
Date Mon, 19 Aug 2013 12:16:28 GMT
The exception is being logged as an error and there are two warnings as well.
The transaction rollback warning makes sense. Then the exception seems to
trigger the second warning because I do not have a custom ErrorHandler
configured. 

Sadly adding handled = true did not change this behavior.

Trace from servicemix
08:07:47,841 | WARN  | ecutor.requests] | TransactionErrorHandler          |
91 - org.apache.camel.camel-spring - 2.8.0.fuse-07-15 | Rollback exchangeId:
ID-63080-1376659093317-30-11 due: Connection to http://localhost:8080
refused
08:07:47,843 | ERROR | ecutor.requests] | EndpointMessageListener          |
88 - org.apache.camel.camel-core - 2.8.0.fuse-07-15 | Caused by:
[org.apache.camel.RuntimeCamelException -
org.apache.camel.RollbackExchangeException: Intended rollback.
Exchange[Message: ]]
08:07:47,843 | WARN  | ecutor.requests] | JmsMessageListenerContainer      |
94 - org.springframework.jms - 3.0.5.RELEASE | Execution of JMS message
listener failed, and no ErrorHandler has been set.
org.apache.camel.RuntimeCamelException:
org.apache.camel.RollbackExchangeException: Intended rollback.
Exchange[Message: ]
	at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1157)[88:org.apache.camel.camel-core:2.8.0.fuse-07-15]
	at
org.apache.camel.component.jms.EndpointMessageListener$EndpointMessageListenerAsyncCallback.done(EndpointMessageListener.java:174)[93:org.apache.camel.camel-jms:2.8.0.fuse-07-15]
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:110)[93:org.apache.camel.camel-jms:2.8.0.fuse-07-15]
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)[94:org.springframework.jms:3.0.5.RELEASE]
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)[94:org.springframework.jms:3.0.5.RELEASE]
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)[94:org.springframework.jms:3.0.5.RELEASE]
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[94:org.springframework.jms:3.0.5.RELEASE]
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)[94:org.springframework.jms:3.0.5.RELEASE]
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)[94:org.springframework.jms:3.0.5.RELEASE]
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)[94:org.springframework.jms:3.0.5.RELEASE]
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)[94:org.springframework.jms:3.0.5.RELEASE]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source)[:1.7.0_07]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)[:1.7.0_07]
	at java.lang.Thread.run(Unknown Source)[:1.7.0_07]
Caused by: org.apache.camel.RollbackExchangeException: Intended rollback.
Exchange[Message: ]



--
View this message in context: http://camel.465427.n5.nabble.com/Odd-AMQ-Transaction-Behavior-tp5737418p5737508.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message