public class XmppEndpoint
extends org.apache.camel.impl.DefaultEndpoint
implements org.apache.camel.spi.HeaderFilterStrategyAware
| Constructor and Description |
|---|
XmppEndpoint() |
XmppEndpoint(String endpointUri)
Deprecated.
|
XmppEndpoint(String uri,
XmppComponent component) |
| Modifier and Type | Method and Description |
|---|---|
org.jivesoftware.smack.XMPPConnection |
createConnection() |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
protected String |
createEndpointUri() |
org.apache.camel.Exchange |
createExchange(org.apache.camel.ExchangePattern pattern) |
org.apache.camel.Exchange |
createExchange(org.jivesoftware.smack.packet.Message message) |
org.apache.camel.Producer |
createGroupChatProducer() |
org.apache.camel.Producer |
createPrivateChatProducer(String participant) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStop() |
XmppBinding |
getBinding() |
String |
getChatId() |
String |
getConnectionDescription() |
static String |
getConnectionMessage(org.jivesoftware.smack.XMPPConnection connection) |
int |
getConnectionPollDelay() |
org.apache.camel.spi.HeaderFilterStrategy |
getHeaderFilterStrategy() |
String |
getHost() |
String |
getNickname() |
String |
getParticipant() |
String |
getPassword() |
int |
getPort() |
String |
getResource() |
String |
getRoom() |
String |
getServiceName() |
String |
getUser() |
static String |
getXmppExceptionLogMessage(org.jivesoftware.smack.XMPPException e) |
boolean |
isCreateAccount() |
boolean |
isLogin() |
boolean |
isSingleton() |
boolean |
isTestConnectionOnStartup() |
String |
resolveRoom(org.jivesoftware.smack.XMPPConnection connection) |
void |
setBinding(XmppBinding binding)
Sets the binding used to convert from a Camel message to and from an XMPP
message
|
void |
setConnectionPollDelay(int connectionPollDelay) |
void |
setCreateAccount(boolean createAccount) |
void |
setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) |
void |
setHost(String host) |
void |
setLogin(boolean login) |
void |
setNickname(String nickname) |
void |
setParticipant(String participant) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setResource(String resource) |
void |
setRoom(String room) |
void |
setServiceName(String serviceName) |
void |
setTestConnectionOnStartup(boolean testConnectionOnStartup) |
void |
setUser(String user) |
configureConsumer, configureProperties, createEndpointConfiguration, createExchange, createExchange, createPollingConsumer, doStart, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic XmppEndpoint()
public XmppEndpoint(String uri, XmppComponent component)
@Deprecated public XmppEndpoint(String endpointUri)
public org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Producer createGroupChatProducer()
throws Exception
Exceptionpublic org.apache.camel.Producer createPrivateChatProducer(String participant) throws Exception
Exceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Exchange createExchange(org.apache.camel.ExchangePattern pattern)
createExchange in interface org.apache.camel.EndpointcreateExchange in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.Exchange createExchange(org.jivesoftware.smack.packet.Message message)
protected String createEndpointUri()
createEndpointUri in class org.apache.camel.impl.DefaultEndpointpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic org.jivesoftware.smack.XMPPConnection createConnection()
throws org.jivesoftware.smack.XMPPException
org.jivesoftware.smack.XMPPExceptionpublic String resolveRoom(org.jivesoftware.smack.XMPPConnection connection) throws org.jivesoftware.smack.XMPPException
org.jivesoftware.smack.XMPPExceptionpublic String getConnectionDescription()
public static String getConnectionMessage(org.jivesoftware.smack.XMPPConnection connection)
public static String getXmppExceptionLogMessage(org.jivesoftware.smack.XMPPException e)
public String getChatId()
public XmppBinding getBinding()
public void setBinding(XmppBinding binding)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getUser()
public void setUser(String user)
public String getPassword()
public void setPassword(String password)
public String getResource()
public void setResource(String resource)
public boolean isLogin()
public void setLogin(boolean login)
public boolean isCreateAccount()
public void setCreateAccount(boolean createAccount)
public String getRoom()
public void setRoom(String room)
public String getParticipant()
public void setParticipant(String participant)
public String getNickname()
public void setNickname(String nickname)
public void setServiceName(String serviceName)
public String getServiceName()
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
getHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwarepublic void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
setHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwarepublic boolean isTestConnectionOnStartup()
public void setTestConnectionOnStartup(boolean testConnectionOnStartup)
public int getConnectionPollDelay()
public void setConnectionPollDelay(int connectionPollDelay)
Apache Camel