Package org.apache.camel.component.stomp
Class StompConfiguration
java.lang.Object
org.apache.camel.component.stomp.StompConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Returns a copy of this configurationgetHost()getLogin()org.apache.camel.support.jsse.SSLContextParametersvoidsetBrokerURL(String brokerURL) The URI of the Stomp broker to connect tovoidsetCustomHeaders(Properties customHeaders) To set custom headersvoidThe virtual host namevoidThe 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)
-
Constructor Details
-
StompConfiguration
public StompConfiguration()
-
-
Method Details
-
copy
Returns a copy of this configuration -
getBrokerURL
-
getHost
-
setHost
The virtual host name -
setBrokerURL
The URI of the Stomp broker to connect to -
getLogin
-
setLogin
The username -
getPasscode
-
setPasscode
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
-
setVersion
The stomp version (1.1, or 1.2) -
getCustomHeaders
-
setCustomHeaders
To set custom headers
-