Package org.apache.camel.component.stomp
Class StompConfiguration
- java.lang.Object
-
- org.apache.camel.component.stomp.StompConfiguration
-
-
Constructor Summary
Constructors Constructor Description StompConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StompConfigurationcopy()Returns a copy of this configurationStringgetBrokerURL()PropertiesgetCustomHeaders()StringgetHost()StringgetLogin()StringgetPasscode()org.apache.camel.support.jsse.SSLContextParametersgetSslContextParameters()StringgetVersion()voidsetBrokerURL(String brokerURL)The URI of the Stomp broker to connect tovoidsetCustomHeaders(Properties customHeaders)To set custom headersvoidsetHost(String host)The virtual host namevoidsetLogin(String login)The usernamevoidsetPasscode(String passcode)The passwordvoidsetSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)To configure security using SSLContextParametersvoidsetVersion(String version)The stomp version (1.1, or 1.2)
-
-
-
Method Detail
-
copy
public StompConfiguration copy()
Returns a copy of this configuration
-
getBrokerURL
public String getBrokerURL()
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
The virtual host name
-
setBrokerURL
public void setBrokerURL(String brokerURL)
The URI of the Stomp broker to connect to
-
getLogin
public String getLogin()
-
setLogin
public void setLogin(String login)
The username
-
getPasscode
public String getPasscode()
-
setPasscode
public void setPasscode(String passcode)
The password
-
getSslContextParameters
public org.apache.camel.support.jsse.SSLContextParameters getSslContextParameters()
-
setSslContextParameters
public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
The stomp version (1.1, or 1.2)
-
getCustomHeaders
public Properties getCustomHeaders()
-
setCustomHeaders
public void setCustomHeaders(Properties customHeaders)
To set custom headers
-
-