Are you sure you're getting a InOut MessageExchange that's active. I'm not sure but I think that the IllegalStateException comes from sending a response for an inactive MessageExchange.
Kind regards Juergen Keertikar wrote: > > Hi All, > > I've written a simple application for publishing a message on the Service > Bus and retrieving the same. > This is working fine and i'm able to receive the message in a proper way > but an exception occurrs on ServiceMix console, (ERROR [CBRComponent] > Error processing exchange InOut[)as follows: > > java.lang.IllegalStateException: component is not owner > at > org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:297) > at > com.globallogic.chrysalis.esb.component.cbr.endpoint.ContentBasedRouter.sendResponse(ContentBasedRouter.java:231) > at > com.globallogic.chrysalis.esb.component.cbr.endpoint.ContentBasedRouter.process(ContentBasedRouter.java:124) > at > org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:431) > at > org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:43) > at > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:624) > at > org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:169) > at > org.apache.servicemix.jbi.nmr.flow.jms.JMSFlow.access$301(JMSFlow.java:73) > at > org.apache.servicemix.jbi.nmr.flow.jms.JMSFlow$5.run(JMSFlow.java:534) > 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) > > All suggestion are welcome. > > Keertikar > -- View this message in context: http://www.nabble.com/Getting-%22java.lang.IllegalStateException%3A-component-is-not-owner%22-Exception-tf3298389s12049.html#a9177399 Sent from the ServiceMix - Dev mailing list archive at Nabble.com.