Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.5
    • Fix Version/s: 2.1 RC1
    • Component/s: Adapters
    • Labels:
      None

      Description

      Provide support for mapping custom xmpp headers.

      At the moment of writing, there is no way to pass custom headers from an org.springframework.integration.Message to an outgoing org.jivesoftware.smack.packet.Message.

      The ChatMessageSendingMessageHandler only copies the CHAT_THREAD_ID and CHAT_TO headers to any outgoing xmpp message. I suggest to copy all other headers to the properties of a smack message, eg.

      mySmackmessage.setProperty( MyCustomMessageHeaders.FOO_1, "foo_1");
      

      This is further discussed in depth at http://forum.springsource.org/showthread.php?113642-Howto-override-the-ChatMessageSendingMessageHandler-in-the-xmpp-namespace&goto=newpost

        Activity

        Hide
        Mark Fisher added a comment -

        I'm moving this to RC1, but I have started work on this one here: https://github.com/markfisher/spring-integration/tree/INT-2073

        Show
        Mark Fisher added a comment - I'm moving this to RC1, but I have started work on this one here: https://github.com/markfisher/spring-integration/tree/INT-2073
        Hide
        Mark Fisher added a comment -

        My initial implementation is on the INT-2083 branch of my github fork (along with the new AbstractHeaderMapper and refactoring of the AMQP HeaderMapper).

        Show
        Mark Fisher added a comment - My initial implementation is on the INT-2083 branch of my github fork (along with the new AbstractHeaderMapper and refactoring of the AMQP HeaderMapper).
        Show
        Oleg Zhurakousky added a comment - The XMPP support has been added. See https://github.com/olegz/spring-integration/commit/8e3f02c71ee48b76c4631796488ae07a46fb116d

          People

          • Assignee:
            Oleg Zhurakousky
            Reporter:
            davidcyp
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: