camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Chekan (JIRA)" <>
Subject [jira] Created: (CAMEL-712) Xmpp private chat does not work
Date Sat, 12 Jul 2008 19:55:00 GMT
Xmpp private chat does not work

                 Key: CAMEL-712
             Project: Apache Camel
          Issue Type: Bug
    Affects Versions: 1.4.0
         Environment: xmpp sender: xmpp camel component; account
xmpp receiver: Psi version 0.11; account
            Reporter: Vadim Chekan
            Priority: Critical
         Attachments: patch.txt

This configuration logs in, presence works, but message is not received by the participant.
		setBody(constant("xmpp message")).

It is cause by the code 

1. There is no need to set "from" field: smack will fetch this info from the connection info
and will set it up properly.

2. I can't find the link, but according to common sence and examples in [Instant Messaging
and Presence|]  "from" should be JID (Jabber ID) and not
just user name!
     <body>Wherefore art thou, Romeo?</body>

3. "Normal" message is just a hint to UI that the message is not part of conversation but
a standalone message. It does not matter practically but ideologically  xmpp component will
send messages as they flow and I'd say it is a conversation (or monologue to be precise).
So no need to set "Normal" flag either. Smack will set it to the default "chat" type.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message