Announcement Announcement Module
Collapse
No announcement yet.
Problem with XmppHeaders.CHAT Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with XmppHeaders.CHAT

    Hi,

    We have setup are system to receive commands from XMPP. Some commands send replies back using the smack.Chat object. However in some cases when starting our system every message from the inbound xmpp adapter have a Chat header value null.

    Here is part of our config

    Code:
    <int:xmpp:inbound-channel-adapter id"..." channel="channel1" xmpp-connection="..." extrac-payload="true"/>
    
    <int:service-activator input-channel="channel1" ref="bean1"/>
    Here is the code in bean1:

    Code:
    @ServiceActivator
    public void process(String command, @Header(value = XmppHeaders.CHAT, required = false) Chat chat)
    {
    ...
    }
    Looking at the code in ChatMessageListeningEndpoint#ChatMessagePublishing PacketListerner it looks like the chat is not always found in the ChatManager() at line 88.

    Please note that the dependency on Smack (3.1.0) is quite a number of version behind, current version is 3.2.2!

    Let me know if you guys need more information,

    Mat

  • #2
    Looks like you are using 2.0.x

    Spring Integration 2.1.1 uses smack 3.2.1

    Comment


    • #3
      Thanks Gary,

      We can't upgrade right now, do you know if this particullar issue is something that's known and fixed?

      Comment


      • #4
        I don't; I was just responding to your comment about the old version of Smack.

        Comment

        Working...
        X