hiya,

JCAFlow still seems to be misbehaving for me. I get the following
kinds of behaviour using a component deployed into a default SM
container and an integration test:

some success at first
count not find route for exchange
message passed to component but reply not received
endpoint found but message not passed to component

it's difficult to debug in the container but this keeps popping up:

DEBUG [Thread-5] ServerSessionImpl:1.run(167) | Endpoint failed to
process message.
java.lang.RuntimeException: Endpoint after delivery notification failure
        at 
org.apache.activemq.ra.ServerSessionImpl.afterDelivery(ServerSessionImpl.java:216)
        at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:751)
        at 
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:163)
        at 
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown 
Source)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: Cannot commit if the
transaction is not bound to the current thread
        at 
org.apache.geronimo.transaction.context.GeronimoTransactionDelegate.commit(GeronimoTransactionDelegate.java:49)
        at org.jencks.XAEndpoint.afterDelivery(XAEndpoint.java:103)
        at 
org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.afterDelivery(MessageEndpointProxy.java:125)
        at 
org.apache.activemq.ra.MessageEndpointProxy.afterDelivery(MessageEndpointProxy.java:64)
        at 
org.apache.activemq.ra.ServerSessionImpl.afterDelivery(ServerSessionImpl.java:214)
        ... 5 more

and i can replicate it in a test (pretty much the same test as for the
last issue, just sending 2 messages instead of 1). neither the
component or the defaultservicemixclient is doing anything explicitly
with transactions.

I'm running with ServiceMix 3.0

should I raise it in JIRA?

cheers,
j.

Reply via email to