org.mule.api.transport.DispatchException

Message is not a JMS message, it is of type "Class". Check the transformer for this Connector "jmsConnector". Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=jms://queue2, connector=ActiveMQJmsConnector{this=10bf989e, started=true, initialised=true, name='jmsConnector', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[jms], serviceOverrides=null}, transformer=[ObjectToString{this=531daf46, name='ObjectToString', ignoreBadInput=false, returnClass=class java.lang.String, sourceTypes=[class java.lang.Object, class [B, class java.io.InputStream, interface org.mule.api.transport.OutputHandler]}], name='endpoint.jms.queue2', properties={}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, remoteSync=false, remoteSyncTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: String

Solutions on the web44

  • via MuleSoft JIRA by Dan Diephouse, 1 year ago
    Message is not a JMS message, it is of type "Class". Check the transformer for this Connector "jmsConnector". Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=jms://queue2, connector=ActiveMQJmsConnector{this=10bf989e, started
  • via MuleSoft JIRA by Dan Diephouse, 1 year ago
    Message is not a JMS message, it is of type "Class". Check the transformer for this Connector "jmsConnector". Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=jms://queue2, connector=ActiveMQJmsConnector{this=10bf989e, started
  • via MuleSoft JIRA by Bill Graham, 1 year ago
    , timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null,synchronous=true, initialState=started, remoteSync=false, remoteSyncTimeout=3000, endpointEncoding=UTF-8}. Message payload is of type: HashMap
  • Stack trace

    • org.mule.api.transport.DispatchException: Message is not a JMS message, it is of type "Class". Check the transformer for this Connector "jmsConnector". Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=jms://queue2, connector=ActiveMQJmsConnector{this=10bf989e, started=true, initialised=true, name='jmsConnector', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[jms], serviceOverrides=null}, transformer=[ObjectToString{this=531daf46, name='ObjectToString', ignoreBadInput=false, returnClass=class java.lang.String, sourceTypes=[class java.lang.Object, class [B, class java.io.InputStream, interface org.mule.api.transport.OutputHandler]}], name='endpoint.jms.queue2', properties={}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, remoteSync=false, remoteSyncTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: String at org.mule.transport.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:142) at org.mule.transport.jms.JmsMessageDispatcher.doDispatch(JmsMessageDispatcher.java:64) at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:273) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:637)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.