MessagingException: Out not supported

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MessagingException: Out not supported

uday garikapati-2
hi All,

i am getting the following Exception when i run the component which i have prepared by
extending outbinding class.

javax.jbi.messaging.MessagingException: Out not supported
        at org.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:275)
        at org.servicemix.components.util.PojoSupport.answer(PojoSupport.java:225)
        at com.sirvisetti.esb.DashboardInteractor.dbInsert(DashboardInteractor.java:297)
        at com.sirvisetti.esb.DashboardInteractor.process(DashboardInteractor.java:102)
        at org.servicemix.components.util.OutBinding.onMessageExchange(OutBinding.java:51)
        at org.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:588)
        at org.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:171)
        at org.servicemix.jbi.nmr.flow.seda.SedaFlow.doSend(SedaFlow.java:140)
        at org.servicemix.jbi.nmr.flow.AbstractFlow.send(AbstractFlow.java:119)
        at org.servicemix.jbi.nmr.Broker.sendExchangePacket(Broker.java:289)
        at org.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:567)
        at org.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:347)
        at org.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:422)
        at org.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:398)
        at org.servicemix.components.file.FilePoller.processFile(FilePoller.java:220)
        at org.servicemix.components.file.FilePoller.processFileAndDelete(FilePoller.java:197)
        at org.servicemix.components.file.FilePoller$1.run(FilePoller.java:182)
        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)

can anybody tell me how can i resolve it.

Thanks,
uday garikapati
Reply | Threaded
Open this post in threaded view
|

Re: MessagingException: Out not supported

Guillaume Nodet
Administrator
The FilePoller sends in-only exchanges, that means that can not set a
response on this exchange.

Guillaume

uday garikapati wrote:

> hi All,
>
> i am getting the following Exception when i run the component which i
> have prepared by
> extending outbinding class.
>
> javax.jbi.messaging.MessagingException: Out not supported
>         at
> org.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:275)
>         at
> org.servicemix.components.util.PojoSupport.answer(PojoSupport.java:225)
>         at
> com.sirvisetti.esb.DashboardInteractor.dbInsert(DashboardInteractor.java:297)
>         at
> com.sirvisetti.esb.DashboardInteractor.process(DashboardInteractor.java:102)
>         at
> org.servicemix.components.util.OutBinding.onMessageExchange(OutBinding.java:51)
>         at
> org.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:588)
>         at
> org.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:171)
>         at
> org.servicemix.jbi.nmr.flow.seda.SedaFlow.doSend(SedaFlow.java:140)
>         at
> org.servicemix.jbi.nmr.flow.AbstractFlow.send(AbstractFlow.java:119)
>         at
> org.servicemix.jbi.nmr.Broker.sendExchangePacket(Broker.java:289)
>         at
> org.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:567)
>         at
> org.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:347)
>         at
> org.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:422)
>         at
> org.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:398)
>         at
> org.servicemix.components.file.FilePoller.processFile(FilePoller.java:220)
>         at
> org.servicemix.components.file.FilePoller.processFileAndDelete(FilePoller.java:197)
>         at
> org.servicemix.components.file.FilePoller$1.run(FilePoller.java:182)
>         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)
>
> can anybody tell me how can i resolve it.
>
> Thanks,
> uday garikapati