public class ActiveMQConsumer extends ActiveMQConnectionProvider implements EventConsumer<org.streampipes.model.grounding.JmsTransportProtocol>, AutoCloseable, Serializable
| Constructor and Description |
|---|
ActiveMQConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect(org.streampipes.model.grounding.JmsTransportProtocol protocolSettings,
InternalEventProcessor<byte[]> eventProcessor) |
void |
disconnect() |
Boolean |
isConnected() |
startJmsConnectionpublic void connect(org.streampipes.model.grounding.JmsTransportProtocol protocolSettings,
InternalEventProcessor<byte[]> eventProcessor)
throws org.streampipes.commons.exceptions.SpRuntimeException
connect in interface EventConsumer<org.streampipes.model.grounding.JmsTransportProtocol>org.streampipes.commons.exceptions.SpRuntimeExceptionpublic void disconnect()
throws org.streampipes.commons.exceptions.SpRuntimeException
disconnect in interface EventConsumer<org.streampipes.model.grounding.JmsTransportProtocol>org.streampipes.commons.exceptions.SpRuntimeExceptionpublic Boolean isConnected()
isConnected in interface EventConsumer<org.streampipes.model.grounding.JmsTransportProtocol>public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2018. All rights reserved.