net.sf.dropboxmq.workflow.adapters.jms
Class JMSAdapter

java.lang.Object
  extended by net.sf.dropboxmq.workflow.adapters.jms.JMSAdapter
All Implemented Interfaces:
EventAdapter

public class JMSAdapter
extends Object
implements EventAdapter

Created: 16 Feb 2011

Version:
$Revision$, $Date$
Author:
Dwayne Schultz

Field Summary
static String JMS
           
 
Constructor Summary
JMSAdapter(String defaultConnectionFactory, EJBContext ejbContext)
           
 
Method Summary
 void close()
           
static EventPackage convertMessage(Message message)
           
 Collection<EventPackage> processResults(Node results)
           
 void renderProperties(Map<String,String> properties, String protocol, Element eventElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMS

public static final String JMS
See Also:
Constant Field Values
Constructor Detail

JMSAdapter

public JMSAdapter(String defaultConnectionFactory,
                  EJBContext ejbContext)
Method Detail

convertMessage

public static EventPackage convertMessage(Message message)
                                   throws JMSException
Throws:
JMSException

renderProperties

public void renderProperties(Map<String,String> properties,
                             String protocol,
                             Element eventElement)
Specified by:
renderProperties in interface EventAdapter

processResults

public Collection<EventPackage> processResults(Node results)
Specified by:
processResults in interface EventAdapter

close

public void close()
Specified by:
close in interface EventAdapter