org.mule.transaction.IllegalTransactionStateException: No active AMQP transaction found for endpoint: DefaultOutboundEndpoint{endpointUri=amqp://rabbitExchange, connector=AmqpConnector { name=AMQP lifecycle=start this=25ec1ff7 numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=true supportedProtocols=[amqp] serviceOverrides=<none> } , name='endpoint.amqp.rabbitExchange', mep=ONE_WAY, properties= {exchangeDurable=true, exchangeType=fanout}, transactionConfig=Transaction {factory=org.mule.transport.jms.JmsTransactionFactory@6491b172, action=ALWAYS_JOIN, timeout=30000}, deleteUnacceptedMessages=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8, disableTransportTransformer=false}

  1. 0

    How to not lose messages when publishing to RabbitMQ from Mule until the proper "Ack" is received?

    Stack Overflow | 3 years ago | Tashani Kathriarachchi
    org.mule.transaction.IllegalTransactionStateException: No active AMQP transaction found for endpoint: DefaultOutboundEndpoint{endpointUri=amqp://rabbitExchange, connector=AmqpConnector { name=AMQP lifecycle=start this=25ec1ff7 numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=true supportedProtocols=[amqp] serviceOverrides=<none> } , name='endpoint.amqp.rabbitExchange', mep=ONE_WAY, properties= {exchangeDurable=true, exchangeType=fanout}, transactionConfig=Transaction {factory=org.mule.transport.jms.JmsTransactionFactory@6491b172, action=ALWAYS_JOIN, timeout=30000}, deleteUnacceptedMessages=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8, disableTransportTransformer=false}
  2. 0

    As possible workaround for case 1784, I tried JMS connector bridging from Active MQ to Websphere MQ using JMS transaction, as described in the cookbook, but get the following error: Root Exception stack trace: org.mule.transaction.IllegalTransactionStateException: Only a single resource can be bound to this type of transaction at org.mule.transaction.AbstractSingleResourceTransaction.bindResource(AbstractSingleResourceTransaction.java:131) at org.mule.providers.jms.JmsTransaction.bindResource(JmsTransaction.java:58) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:470) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:435) at org.mule.providers.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:119) at org.mule.providers.jms.JmsMessageDispatcher.doSend(JmsMessageDispatcher.java:316) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:224) at org.mule.providers.AbstractConnector.send(AbstractConnector.java:1605) at org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:327) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:209) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:121) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:67) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:81) at org.mule.routing.outbound.OutboundRouterCollection$1.doInTransaction(OutboundRouterCollection.java:66) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:40) at org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:71) at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:51) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:86) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:575) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:317) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:245) at org.mule.providers.jms.TransactedJmsMessageReceiver.getMessages(TransactedJmsMessageReceiver.java:256) at org.mule.providers.TransactedPollingMessageReceiver$1.doInTransaction(TransactedPollingMessageReceiver.java:92) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:76) at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:103) at org.mule.providers.jms.TransactedJmsMessageReceiver.poll(TransactedJmsMessageReceiver.java:163)

    MuleSoft JIRA | 10 years ago | Justin Rowe
    org.mule.transaction.IllegalTransactionStateException: Only a single resource can be bound to this type of transaction
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    As possible workaround for case 1784, I tried JMS connector bridging from Active MQ to Websphere MQ using JMS transaction, as described in the cookbook, but get the following error: Root Exception stack trace: org.mule.transaction.IllegalTransactionStateException: Only a single resource can be bound to this type of transaction at org.mule.transaction.AbstractSingleResourceTransaction.bindResource(AbstractSingleResourceTransaction.java:131) at org.mule.providers.jms.JmsTransaction.bindResource(JmsTransaction.java:58) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:470) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:435) at org.mule.providers.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:119) at org.mule.providers.jms.JmsMessageDispatcher.doSend(JmsMessageDispatcher.java:316) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:224) at org.mule.providers.AbstractConnector.send(AbstractConnector.java:1605) at org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:327) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:209) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:121) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:67) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:81) at org.mule.routing.outbound.OutboundRouterCollection$1.doInTransaction(OutboundRouterCollection.java:66) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:40) at org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:71) at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:51) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:86) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:575) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:317) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:245) at org.mule.providers.jms.TransactedJmsMessageReceiver.getMessages(TransactedJmsMessageReceiver.java:256) at org.mule.providers.TransactedPollingMessageReceiver$1.doInTransaction(TransactedPollingMessageReceiver.java:92) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:76) at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:103) at org.mule.providers.jms.TransactedJmsMessageReceiver.poll(TransactedJmsMessageReceiver.java:163)

    MuleSoft JIRA | 10 years ago | Justin Rowe
    org.mule.transaction.IllegalTransactionStateException: Only a single resource can be bound to this type of transaction

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.mule.transaction.IllegalTransactionStateException

      No active AMQP transaction found for endpoint: DefaultOutboundEndpoint{endpointUri=amqp://rabbitExchange, connector=AmqpConnector { name=AMQP lifecycle=start this=25ec1ff7 numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=true supportedProtocols=[amqp] serviceOverrides=<none> } , name='endpoint.amqp.rabbitExchange', mep=ONE_WAY, properties= {exchangeDurable=true, exchangeType=fanout}, transactionConfig=Transaction {factory=org.mule.transport.jms.JmsTransactionFactory@6491b172, action=ALWAYS_JOIN, timeout=30000}, deleteUnacceptedMessages=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8, disableTransportTransformer=false}

      at org.mule.transport.amqp.AmqpMessageDispatcher.getEventChannel()
    2. org.mule.transport
      AmqpMessageDispatcher.doDispatch
      1. org.mule.transport.amqp.AmqpMessageDispatcher.getEventChannel(AmqpMessageDispatcher.java:298)
      2. org.mule.transport.amqp.AmqpMessageDispatcher.doOutboundAction(AmqpMessageDispatcher.java:152)
      3. org.mule.transport.amqp.AmqpMessageDispatcher.doDispatch(AmqpMessageDispatcher.java:127)
      3 frames