public class BamJmsService extends SimpleActor
| Constructor and Description |
|---|
BamJmsService() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init() |
void |
message(java.lang.String to,
java.lang.String from,
java.io.Serializable value)
Sends to a queue
|
void |
setConnectionFactory(ConnectionFactory factory)
Sets the connection factory
|
void |
setDestination(Destination queue)
Sets the destination
|
getActor, getAddress, getBroker, getMailbox, getSender, setAddress, setBroker, setMailboxisClosed, messageError, query, queryError, queryResult, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisClosed, messageError, query, queryError, queryResultpublic void setConnectionFactory(ConnectionFactory factory)
public void setDestination(Destination queue)
@PostConstruct public void init() throws JMSException
JMSExceptionpublic void message(java.lang.String to,
java.lang.String from,
java.io.Serializable value)
message in interface MessageStreammessage in class AbstractMessageStreamto - the target actor's addressfrom - the source actor's addressvalue - the message payload@PreDestroy public void close()