org.apache.camel.component.xmpp
Class XmppEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.xmpp.XmppEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint, IsSingleton, HeaderFilterStrategyAware
public class XmppEndpoint
- extends DefaultEndpoint
- implements HeaderFilterStrategyAware
A XMPP Endpoint
- Version:
- $Revision:520964 $
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString |
XmppEndpoint
public XmppEndpoint()
XmppEndpoint
public XmppEndpoint(String uri,
XmppComponent component)
XmppEndpoint
public XmppEndpoint(String endpointUri)
createProducer
public Producer createProducer()
throws Exception
- Specified by:
createProducer in interface Endpoint
- Throws:
Exception
createGroupChatProducer
public Producer createGroupChatProducer()
throws Exception
- Throws:
Exception
createPrivateChatProducer
public Producer createPrivateChatProducer(String participant)
throws Exception
- Throws:
Exception
createConsumer
public Consumer createConsumer(Processor processor)
throws Exception
- Specified by:
createConsumer in interface Endpoint
- Throws:
Exception
createExchange
public Exchange createExchange(ExchangePattern pattern)
- Specified by:
createExchange in interface Endpoint- Overrides:
createExchange in class DefaultEndpoint
createExchange
public Exchange createExchange(org.jivesoftware.smack.packet.Message message)
createEndpointUri
protected String createEndpointUri()
- Overrides:
createEndpointUri in class DefaultEndpoint
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface IsSingleton
createConnection
public org.jivesoftware.smack.XMPPConnection createConnection()
throws org.jivesoftware.smack.XMPPException
- Throws:
org.jivesoftware.smack.XMPPException
resolveRoom
public String resolveRoom(org.jivesoftware.smack.XMPPConnection connection)
throws org.jivesoftware.smack.XMPPException
- Throws:
org.jivesoftware.smack.XMPPException
getConnectionMessage
public static String getConnectionMessage(org.jivesoftware.smack.XMPPConnection connection)
getChatId
public String getChatId()
destroy
protected void destroy()
throws Exception
- Throws:
Exception
getBinding
public XmppBinding getBinding()
setBinding
public void setBinding(XmppBinding binding)
- Sets the binding used to convert from a Camel message to and from an XMPP
message
getHost
public String getHost()
setHost
public void setHost(String host)
getPort
public int getPort()
setPort
public void setPort(int port)
getUser
public String getUser()
setUser
public void setUser(String user)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getResource
public String getResource()
setResource
public void setResource(String resource)
isLogin
public boolean isLogin()
setLogin
public void setLogin(boolean login)
isCreateAccount
public boolean isCreateAccount()
setCreateAccount
public void setCreateAccount(boolean createAccount)
getRoom
public String getRoom()
setRoom
public void setRoom(String room)
getParticipant
public String getParticipant()
setParticipant
public void setParticipant(String participant)
getNickname
public String getNickname()
setNickname
public void setNickname(String nickname)
setServiceName
public void setServiceName(String serviceName)
getServiceName
public String getServiceName()
getHeaderFilterStrategy
public HeaderFilterStrategy getHeaderFilterStrategy()
- Specified by:
getHeaderFilterStrategy in interface HeaderFilterStrategyAware
setHeaderFilterStrategy
public void setHeaderFilterStrategy(HeaderFilterStrategy headerFilterStrategy)
- Specified by:
setHeaderFilterStrategy in interface HeaderFilterStrategyAware
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.