Hi

What version of Camel are you using?

On Fri, Oct 14, 2011 at 8:42 PM, Jeff Segal <jeffrey.se...@gmail.com> wrote:
> 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://jse...@jabber.org:5222?password=********&room=o2e%40conference.jabber.org&serviceName=jabber.org
> Producer: 
> xmpp://jse...@jabber.org: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="jse...@jabber.org/Camel"
> from="o...@conference.jabber.org/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: o...@conference.jabber.org as: jsegal
> DEBUG org.apache.camel.component.xmpp.XmppLogger  - INBOUND :
> <presence to="jse...@jabber.org/Camel"
> from="o...@conference.jabber.org/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://jse...@jabber.org: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="o...@conference.jabber.org" from="jsegal"
> type="groupchat"><body>my message</body></message>
> DEBUG org.apache.camel.component.xmpp.XmppLogger  - INBOUND : <message
> id="sR10F-6" to="jsegal" from="o...@conference.jabber.org"
> 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
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to