public class JmsServer extends LogEventListener implements MessageListener, LifeCycle
Destination
.LifeCycle.State
Constructor and Description |
---|
JmsServer(String connectionFactoryBindingName,
String destinationBindingName,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
LifeCycle.State |
getState()
Gets the life-cycle state
|
boolean |
isStarted() |
boolean |
isStopped() |
void |
onMessage(Message message) |
void |
start() |
void |
stop() |
log
public LifeCycle.State getState()
LifeCycle
public void onMessage(Message message)
onMessage
in interface MessageListener
Copyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.