I'm testing the XMPP component against the public jabber.org servers and seeing an unexpected problem when sending messages to a MUC. I have both a consumer and producer route and the consumer can receive messages sent from an external client successfully. I'd like the same user to be able to send and receive messages, so the two endpoints are the same:
Consumer: xmpp://[email protected]:5222?password=********&room=o2e%40conference.jabber.org&serviceName=jabber.org Producer: xmpp://[email protected]:5222?password=********&room=o2e%40conference.jabber.org&serviceName=jabber.org Here's a truncated version of the DEBUG logging when I add both routes and attempt to send a message to the producer. Note that it's all "normal" until the jid-malformed error. DEBUG org.apache.camel.component.xmpp.XmppLogger - INBOUND : <presence to="[email protected]/Camel" from="[email protected]/o2e-user"><priority>1</priority><c xmlns="http://jabber.org/protocol/caps"></c><x xmlns="http://jabber.org/protocol/muc#user"><item affiliation="none" role="participant"><reason></reason><actor jid=""/></item></x></presence> INFO org.apache.camel.component.xmpp.XmppGroupChatProducer - Joined room: [email protected] as: jsegal DEBUG org.apache.camel.component.xmpp.XmppLogger - INBOUND : <presence to="[email protected]/Camel" from="[email protected]/jsegal"><x xmlns="http://jabber.org/protocol/muc#user"><item affiliation="owner" role="moderator"><reason></reason><actor jid=""/></item><status code="110"/></x></presence> DEBUG org.apache.camel.component.xmpp.XmppGroupChatProducer - Starting producer: Producer[xmpp://[email protected]:5222?password=P%40%24%24w0rd&room=o2e%40conference.jabber.org&serviceName=jabber.org] DEBUG org.apache.camel.component.xmpp.XmppGroupChatProducer - Sending XMPP message: my message DEBUG org.apache.camel.component.xmpp.XmppLogger - OUTBOUND : <message id="sR10F-6" to="[email protected]" from="jsegal" type="groupchat"><body>my message</body></message> DEBUG org.apache.camel.component.xmpp.XmppLogger - INBOUND : <message id="sR10F-6" to="jsegal" from="[email protected]" type="error"><thread>7jN470</thread><error code="400" type="MODIFY"><jid-malformed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></message> I have no problem using Pidgin to log into this account, connect to the same MUC and send messages to it. Any thoughts on why I'm seeing this problem? Thanks, Jeff
