|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ws.transport.xmpp.XmppMessageSender
public class XmppMessageSender
WebServiceMessageSender
implementation that uses XMPP Message
s.
Requires a connection
to be set.
xmpp:toThe to represents a Jabber ID.
Field Summary | |
---|---|
static String |
DEFAULT_MESSAGE_ENCODING
Default encoding used to read from and write to Message messages. |
static long |
DEFAULT_RECEIVE_TIMEOUT
Default timeout for receive operations: -1 indicates a blocking receive without timeout. |
Constructor Summary | |
---|---|
XmppMessageSender()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
WebServiceConnection |
createConnection(URI uri)
|
protected String |
createThread()
|
void |
setConnection(org.jivesoftware.smack.XMPPConnection connection)
Sets the XMPPConnection . |
void |
setMessageEncoding(String messageEncoding)
Sets the encoding used to read from Message object. |
void |
setReceiveTimeout(long receiveTimeout)
Set the timeout to use for receive calls. |
boolean |
supports(URI uri)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long DEFAULT_RECEIVE_TIMEOUT
public static final String DEFAULT_MESSAGE_ENCODING
Message
messages.
Constructor Detail |
---|
public XmppMessageSender()
Method Detail |
---|
public void setConnection(org.jivesoftware.smack.XMPPConnection connection)
XMPPConnection
. Setting this property is required.
public void setReceiveTimeout(long receiveTimeout)
PacketCollector.nextResult(long)
public void setMessageEncoding(String messageEncoding)
Message
object. Defaults to
UTF-8
.
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public WebServiceConnection createConnection(URI uri) throws IOException
createConnection
in interface WebServiceMessageSender
IOException
public boolean supports(URI uri)
supports
in interface WebServiceMessageSender
protected String createThread()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |