Hi,

I am new to JBI stuff and been working with servicemix from quite a few days. I am trying to build a POJO into JBI component and the component is something like a FileWriter , but here it writes some other datasource.I have used the FileWriter component as reference and built the component.I was successful in buliding this, but the process is raising an exception like one below:


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
 

when passing on the message to some other component.

I guess this is some problem in setting the message as InOut or something like that which should have a two way communication.
Can somebody help me in this or provide the information where i can found something similar to this.

Thanks in advance,
Pavan Kumar

Reply via email to