Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » jms » core » [javadoc | source]
org.springframework.jms.core
public interface: MessageCreator [javadoc | source] 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 from org.springframework.jms.core.MessageCreator Summary:
createMessage
Method from org.springframework.jms.core.MessageCreator Detail:
 public Message createMessage(Session session) throws JMSException