It seems your component does not correctly handle
the message exchange. The call to done() must
only be performed on exchange that have an ACTIVE
status and not when sending the response for an InOut
mep (in this case, you need to call send instead).
On 10/17/06, moraleslos <[EMAIL PROTECTED]> wrote:
Hi,
I'm now testing my FTP transfers and seems like all the files were
transferred appropriately. However, in the logs, I see this exception
popping up constantly:
***************************************
15:10:55,531 | DEBUG | Thread-72 | SedaFlow |
emix.jbi.nmr.flow.AbstractFlow 116 | Called Flow send
15:10:55,547 | DEBUG | Thread-76 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 721 | Notifying exchange
ID:dsf23asas.sf8498-8:3(2f54) in DeliveryChannel{archiveExtractor} from
processInboundSynchronousExchange
15:10:55,547 | DEBUG | Thread-8 | OutBinding |
mix.components.util.OutBinding 53 | Exchange failed
javax.jbi.messaging.MessagingException: illegal call to send / sendSync
at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:571)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:364)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:411)
at
org.apache.servicemix.components.util.PojoSupport.done(PojoSupport.java:224)
at
com.test.servicemix.ArchiveExtractor.process(ArchiveExtractor.java:158)
at
org.apache.servicemix.components.util.OutBinding.onMessageExchange(OutBinding.java:49)
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.seda.SedaFlow.doRouting(SedaFlow.java:177)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:227)
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)
15:10:55,547 | DEBUG | Thread-11 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 705 | Waiting for exchange
ID:dsf23asas.sf8498-8:3 (edd9de) to be answered in
DeliveryChannel{archiveExtractor} from sendSync
15:10:55,547 | DEBUG | Thread-77 | SedaQueue |
.jbi.nmr.flow.seda.SedaQueue$1 225 |
[EMAIL PROTECTED] dequeued
exchange: InOnly[
id: ID:dsf23asas.sf8498-8:3
status: Active
role: provider
service: {http://test.com/servicemix/ftp}extractFileSink
endpoint: extractFileSink
in: null
]
****************************************************
Again, all the files seemed to be ftp'd ok... just want to make sure I'm not
doing any damage in the long term... Thanks in advance.
-los
--
View this message in context:
http://www.nabble.com/getting-an-%22illegal-call-to-send---sendSync%22-error-tf2462029.html#a6863385
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Cheers,
Guillaume Nodet