Class XmppMessageSender

All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, WebServiceMessageSender

public class XmppMessageSender extends AbstractWebServiceMessageSender<XmppDestinationDescriptor> implements org.springframework.beans.factory.InitializingBean
WebServiceMessageSender implementation that uses XMPP Messages. Requires a connectionto be set.

This message sender supports URI's of the following format:

xmpp:to
The to represents a Jabber ID.

Any xmpp: URI supplied by the application is accepted. A URI supplied by a remote peer, such as a WS-Addressing ReplyTo or FaultTo address, is only accepted when a DestinationPolicy accepts it; without a policy, every remote destination is rejected. Use XmppDestinationPolicies.allowedJabberIds(String...) to state the Jabber IDs that remote destinations may target.

Since:
2.0
  • Field Details

    • DEFAULT_RECEIVE_TIMEOUT

      public static final long DEFAULT_RECEIVE_TIMEOUT
      Default timeout for receive operations: -1 indicates a blocking receive without timeout.
      See Also:
    • DEFAULT_MESSAGE_ENCODING

      public static final String DEFAULT_MESSAGE_ENCODING
      Default encoding used to read from and write to Message messages.
      See Also:
  • Constructor Details

    • XmppMessageSender

      public XmppMessageSender()
  • Method Details