Dont know if this helps, but
I had this problem too, looking at XmppEndpoint.java, when a packet is
received, the following code is run (inside of the processPacket method):
InOnly exchange = getExchangeFactory().createInOnlyExchange();
NormalizedMessage in = exchange.createMessage();
exchange.setInMessage(in);
marshaler.toNMS(in, packet);
logger.debug("Exchange: " + exchange);
//send(exchange);
(Note that the last line send(exchange) is commented out. It looks like
this is disabled on purpose.
Tijs wrote:
>
> I have set-up a simple example with Camel 1.3 that listens for incoming
> messages from XMPP and then should sent a message back to XMPP. I use the
> following configuration:
>
> <route>
> <from uri="xmpp://[EMAIL PROTECTED]/?password=servicemix"/>
> <to uri="xmpp://[EMAIL PROTECTED]/?password=test2&participant=test"/>
> </route>
>
> A message that is sent to user servicemix is received, but the message is
> never sent to user test. I have debugged the code and in the
> XmppPrivateChatProducer class the message is actually sent without any
> errors. Any help is appreciated!
>
> Thanks,
>
> Tijs
>
--
View this message in context:
http://www.nabble.com/XMPP-send-instant-message-tp14072390s22882p14764216.html
Sent from the Camel - Users mailing list archive at Nabble.com.