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

MuleSoft JIRA | Dan Diephouse | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    If we don't auto transform we get: Feb 18, 2009 8:57:24 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFO: Interceptor has thrown exception, unwinding now org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183) at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:449) at org.mule.transport.cxf.transport.MuleUniversalConduit.dispatchMuleMessage(MuleUniversalConduit.java:194) at org.mule.transport.cxf.transport.MuleUniversalConduit$1.handleMessage(MuleUniversalConduit.java:142) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242) at org.mule.transport.cxf.CxfMessageDispatcher.doSendWithClient(CxfMessageDispatcher.java:194) at org.mule.transport.cxf.CxfMessageDispatcher.doSend(CxfMessageDispatcher.java:128) at org.mule.transport.cxf.CxfMessageDispatcher.doDispatch(CxfMessageDispatcher.java:218) 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) Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686) at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134) at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069) at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095) at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83) ... 16 more DEBUG 2009-02-18 08:57:24,545 [jmsConnector.dispatcher.1] org.mule.transformer.simple.ObjectToString: Object after transform: DEBUG 2009-02-18 08:57:24,545 [jmsConnector.dispatcher.1] org.mule.transformer.simple.ObjectToString: The transformed object is of expected type. Type is: String ERROR 2009-02-18 08:57:24,554 [connector.cxf.0.dispatcher.1] org.mule.DefaultExceptionStrategy: Caught exception in Exception Strategy: Data types of class java.lang.String are not supported. java.lang.UnsupportedOperationException: Data types of class java.lang.String are not supported. at org.apache.cxf.databinding.stax.StaxDataBinding$XMLStreamDataWriter.write(StaxDataBinding.java:127) at org.apache.cxf.databinding.stax.StaxDataBinding$XMLStreamDataWriter.write(StaxDataBinding.java:117) at org.apache.cxf.databinding.stax.StaxDataBinding$XMLStreamDataWriter.write(StaxDataBinding.java:113) at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:113) at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.mule.transport.cxf.transport.MuleUniversalConduit$2.write(MuleUniversalConduit.java:162) at org.mule.transformer.simple.ObjectToString.doTransform(ObjectToString.java:83) at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254) at org.mule.DefaultMuleMessage.getPayload(DefaultMuleMessage.java:189) at org.mule.DefaultMuleMessage.getPayload(DefaultMuleMessage.java:138) at org.mule.DefaultMuleMessage.getPayloadAsString(DefaultMuleMessage.java:313) at org.mule.DefaultMuleMessage.getPayloadAsString(DefaultMuleMessage.java:286) at org.mule.routing.outbound.AbstractOutboundRouter.dispatch(AbstractOutboundRouter.java:77) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:72) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:69) at org.mule.routing.outbound.DefaultOutboundRouterCollection$1.doInTransaction(DefaultOutboundRouterCollection.java:64) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:45) at org.mule.routing.outbound.DefaultOutboundRouterCollection.route(DefaultOutboundRouterCollection.java:69) at org.mule.service.AbstractService.sendToOutboundRouter(AbstractService.java:903) at org.mule.model.seda.SedaService.doSend(SedaService.java:235) at org.mule.service.AbstractService.sendEvent(AbstractService.java:506) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354) at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:220) at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:180) at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:365) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:253) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:176) at org.mule.transport.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:107) at org.mule.transport.vm.VMMessageDispatcher$2.doInTransaction(VMMessageDispatcher.java:125) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99) at org.mule.transport.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:128) at org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:168) at org.mule.transport.AbstractConnector.send(AbstractConnector.java:1927) at org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoint.java:77) at org.mule.transport.cxf.transport.MuleUniversalConduit.sendStream(MuleUniversalConduit.java:268) at org.mule.transport.cxf.transport.MuleUniversalConduit.dispatchMuleMessage(MuleUniversalConduit.java:182) at org.mule.transport.cxf.transport.MuleUniversalConduit$1.handleMessage(MuleUniversalConduit.java:142) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242) at org.mule.transport.cxf.CxfMessageDispatcher.doSendWithClient(CxfMessageDispatcher.java:194) at org.mule.transport.cxf.CxfMessageDispatcher.doSend(CxfMessageDispatcher.java:128) at org.mule.transport.cxf.CxfMessageDispatcher.doDispatch(CxfMessageDispatcher.java:218) 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) ERROR 2009-02-18 08:57:24,568 [jmsConnector.dispatcher.1] org.mule.DefaultExceptionStrategy: ******************************************************************************** Message : 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 Type : org.mule.api.transport.DispatchException Code : MULE_ERROR-42999 Payload : JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html ******************************************************************************** Exception stack is: 1. 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 (org.mule.api.transport.DispatchException) org.mule.transport.jms.JmsMessageDispatcher:142 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html) ******************************************************************************** Root Exception 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) ********************************************************************************

    MuleSoft JIRA | 8 years ago | Dan Diephouse
    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
  2. 0

    If we don't auto transform we get: Feb 18, 2009 8:57:24 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFO: Interceptor has thrown exception, unwinding now org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183) at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:449) at org.mule.transport.cxf.transport.MuleUniversalConduit.dispatchMuleMessage(MuleUniversalConduit.java:194) at org.mule.transport.cxf.transport.MuleUniversalConduit$1.handleMessage(MuleUniversalConduit.java:142) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242) at org.mule.transport.cxf.CxfMessageDispatcher.doSendWithClient(CxfMessageDispatcher.java:194) at org.mule.transport.cxf.CxfMessageDispatcher.doSend(CxfMessageDispatcher.java:128) at org.mule.transport.cxf.CxfMessageDispatcher.doDispatch(CxfMessageDispatcher.java:218) 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) Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686) at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134) at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069) at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095) at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83) ... 16 more DEBUG 2009-02-18 08:57:24,545 [jmsConnector.dispatcher.1] org.mule.transformer.simple.ObjectToString: Object after transform: DEBUG 2009-02-18 08:57:24,545 [jmsConnector.dispatcher.1] org.mule.transformer.simple.ObjectToString: The transformed object is of expected type. Type is: String ERROR 2009-02-18 08:57:24,554 [connector.cxf.0.dispatcher.1] org.mule.DefaultExceptionStrategy: Caught exception in Exception Strategy: Data types of class java.lang.String are not supported. java.lang.UnsupportedOperationException: Data types of class java.lang.String are not supported. at org.apache.cxf.databinding.stax.StaxDataBinding$XMLStreamDataWriter.write(StaxDataBinding.java:127) at org.apache.cxf.databinding.stax.StaxDataBinding$XMLStreamDataWriter.write(StaxDataBinding.java:117) at org.apache.cxf.databinding.stax.StaxDataBinding$XMLStreamDataWriter.write(StaxDataBinding.java:113) at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:113) at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.mule.transport.cxf.transport.MuleUniversalConduit$2.write(MuleUniversalConduit.java:162) at org.mule.transformer.simple.ObjectToString.doTransform(ObjectToString.java:83) at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254) at org.mule.DefaultMuleMessage.getPayload(DefaultMuleMessage.java:189) at org.mule.DefaultMuleMessage.getPayload(DefaultMuleMessage.java:138) at org.mule.DefaultMuleMessage.getPayloadAsString(DefaultMuleMessage.java:313) at org.mule.DefaultMuleMessage.getPayloadAsString(DefaultMuleMessage.java:286) at org.mule.routing.outbound.AbstractOutboundRouter.dispatch(AbstractOutboundRouter.java:77) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:72) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:69) at org.mule.routing.outbound.DefaultOutboundRouterCollection$1.doInTransaction(DefaultOutboundRouterCollection.java:64) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:45) at org.mule.routing.outbound.DefaultOutboundRouterCollection.route(DefaultOutboundRouterCollection.java:69) at org.mule.service.AbstractService.sendToOutboundRouter(AbstractService.java:903) at org.mule.model.seda.SedaService.doSend(SedaService.java:235) at org.mule.service.AbstractService.sendEvent(AbstractService.java:506) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354) at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:220) at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:180) at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:365) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:253) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:176) at org.mule.transport.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:107) at org.mule.transport.vm.VMMessageDispatcher$2.doInTransaction(VMMessageDispatcher.java:125) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99) at org.mule.transport.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:128) at org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:168) at org.mule.transport.AbstractConnector.send(AbstractConnector.java:1927) at org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoint.java:77) at org.mule.transport.cxf.transport.MuleUniversalConduit.sendStream(MuleUniversalConduit.java:268) at org.mule.transport.cxf.transport.MuleUniversalConduit.dispatchMuleMessage(MuleUniversalConduit.java:182) at org.mule.transport.cxf.transport.MuleUniversalConduit$1.handleMessage(MuleUniversalConduit.java:142) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242) at org.mule.transport.cxf.CxfMessageDispatcher.doSendWithClient(CxfMessageDispatcher.java:194) at org.mule.transport.cxf.CxfMessageDispatcher.doSend(CxfMessageDispatcher.java:128) at org.mule.transport.cxf.CxfMessageDispatcher.doDispatch(CxfMessageDispatcher.java:218) 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) ERROR 2009-02-18 08:57:24,568 [jmsConnector.dispatcher.1] org.mule.DefaultExceptionStrategy: ******************************************************************************** Message : 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 Type : org.mule.api.transport.DispatchException Code : MULE_ERROR-42999 Payload : JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html ******************************************************************************** Exception stack is: 1. 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 (org.mule.api.transport.DispatchException) org.mule.transport.jms.JmsMessageDispatcher:142 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html) ******************************************************************************** Root Exception 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) ********************************************************************************

    MuleSoft JIRA | 8 years ago | Dan Diephouse
    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

    Root Cause Analysis

    1. 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()
    2. JMS Transport
      JmsMessageDispatcher.doDispatch
      1. org.mule.transport.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:142)
      2. org.mule.transport.jms.JmsMessageDispatcher.doDispatch(JmsMessageDispatcher.java:64)
      2 frames
    3. Mule Core
      WorkerContext.run
      1. org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:273)
      2. org.mule.work.WorkerContext.run(WorkerContext.java:310)
      2 frames
    4. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
      2 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:637)
      1 frame