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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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 Google Groups by alloyer, 5 months ago
='ResponseQueue', properties={}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, remoteSync=false, remoteSyncTimeout=3000, endpointEncoding=UTF-8}. Message payload is of type: ImageResponse
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.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 java.lang.Thread.run(Thread.java:637)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.