Package org.apache.camel.component.stomp
Class StompConfiguration
java.lang.Object
org.apache.camel.component.stomp.StompConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Returns a copy of this configurationgetHost()
getLogin()
org.apache.camel.support.jsse.SSLContextParameters
void
setBrokerURL
(String brokerURL) The URI of the Stomp broker to connect tovoid
setCustomHeaders
(Properties customHeaders) To set custom headersvoid
The virtual host namevoid
The usernamevoid
setPasscode
(String passcode) The passwordvoid
setSslContextParameters
(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) To configure security using SSLContextParametersvoid
setVersion
(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
-