|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageCreator
Creates a JMS message given a Session
.
The Session
typically is provided by an instance
of the JmsTemplate
class.
Implementations do not need to concern themselves with
checked JMSExceptions
(from the 'javax.jms
'
package) that may be thrown from operations they attempt. The
JmsTemplate
will catch and handle these
JMSExceptions
appropriately.
Method Summary | |
---|---|
Message |
createMessage(Session session)
Create a Message to be sent. |
Method Detail |
---|
Message createMessage(Session session) throws JMSException
Message
to be sent.
session
- the JMS Session
to be used to create the
Message
(never null
)
Message
to be sent
JMSException
- if thrown by JMS API methods
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |