Class STOMPClient
java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.stomp.STOMPClient
- All Implemented Interfaces:
Interceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.predic8.membrane.core.interceptor.Interceptor
Interceptor.Flow -
Field Summary
Fields inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
name, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()intgetPort()handleRequest(Exchange exc) voidvoidsetConnectionConfiguration(ConnectionConfiguration connectionConfiguration) voidvoidsetPort(int port) voidsetSslOutboundParser(SSLParser sslParser) Methods inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
getDisplayName, getFlow, getHelpId, getLongDescription, getMessage, getRouter, getRule, getShortDescription, handleAbort, handleResponse, init, setDisplayName, setFlow
-
Constructor Details
-
STOMPClient
public STOMPClient()
-
-
Method Details
-
getPort
public int getPort() -
setPort
public void setPort(int port) - Default
- 61613
- Description
- The port to connect to.
-
getHost
-
setHost
- Description
- The host (name or IP) to connect to.
-
getConnectionConfiguration
-
setConnectionConfiguration
- Description
- Parameters for outbound STOMP connections.
-
getSslOutboundParser
-
setSslOutboundParser
- Description
- Configures outbound SSL (STOMP via SSL).
-
init
- Specified by:
initin interfaceInterceptor- Overrides:
initin classAbstractInterceptor- Throws:
Exception
-
handleRequest
- Specified by:
handleRequestin interfaceInterceptor- Overrides:
handleRequestin classAbstractInterceptor- Throws:
Exception
-