com.atomikos.jms.extra
Interface JmsSenderTemplateCallback


public interface JmsSenderTemplateCallback

This is a call-back interface for doing more advanced and non-standard processing with the JmsSenderTemplate classes. Application code can implement this interface to get full access to the underlying (and managed!) JMS Session object.


Method Summary
 void doInJmsSession(javax.jms.Session session)
          Performs some application-specific processing on the underlying JMS session.
 

Method Detail

doInJmsSession

void doInJmsSession(javax.jms.Session session)
                    throws javax.jms.JMSException
Performs some application-specific processing on the underlying JMS session.

Parameters:
session - The JMS session, as managed by the JmsSenderTemplate classes.
Throws:
javax.jms.JMSException - On errors.


Copyright © 2011. All Rights Reserved.