|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.jms.resource.MessageSenderResource
public class MessageSenderResource
Configures message senders, avoiding JCA.
Constructor Summary | |
---|---|
MessageSenderResource()
|
Method Summary | |
---|---|
void |
init()
Initialize the sender resource. |
void |
send(java.util.HashMap header,
java.lang.Object value)
Sends a message to the destination |
void |
setConnectionFactory(ConnectionFactory factory)
Sets the JMS connection factory. |
void |
setDestination(Destination destination)
Sets the JMS Destination (Queue or Topic) |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageSenderResource()
Method Detail |
---|
public void setConnectionFactory(ConnectionFactory factory)
factory
- public void setDestination(Destination destination)
destination
- @PostConstruct public void init() throws JMSException, ConfigException
JMSException
ConfigException
public void send(java.util.HashMap header, java.lang.Object value) throws MessageServiceException
send
in interface MessageSender
header
- value
-
MessageServiceException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |