org.apache.activemq.transport.amqp
Class ActiveMQJMSVendor

java.lang.Object
  extended by org.apache.qpid.proton.jms.JMSVendor
      extended by org.apache.activemq.transport.amqp.ActiveMQJMSVendor

public class ActiveMQJMSVendor
extends org.apache.qpid.proton.jms.JMSVendor

Author:
Hiram Chirino

Field Summary
static ActiveMQJMSVendor INSTANCE
           
 
Method Summary
 BytesMessage createBytesMessage()
           
 Destination createDestination(String name)
           
<T extends Destination>
T
createDestination(String name, Class<T> kind)
           
 MapMessage createMapMessage()
           
 Message createMessage()
           
 ObjectMessage createObjectMessage()
           
 StreamMessage createStreamMessage()
           
 TextMessage createTextMessage()
           
 void setJMSXDeliveryCount(Message msg, long value)
           
 void setJMSXGroupID(Message msg, String value)
           
 void setJMSXGroupSequence(Message msg, int value)
           
 void setJMSXUserID(Message msg, String value)
           
 String toAddress(Destination dest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ActiveMQJMSVendor INSTANCE
Method Detail

createBytesMessage

public BytesMessage createBytesMessage()
Specified by:
createBytesMessage in class org.apache.qpid.proton.jms.JMSVendor

createStreamMessage

public StreamMessage createStreamMessage()
Specified by:
createStreamMessage in class org.apache.qpid.proton.jms.JMSVendor

createMessage

public Message createMessage()
Specified by:
createMessage in class org.apache.qpid.proton.jms.JMSVendor

createTextMessage

public TextMessage createTextMessage()
Specified by:
createTextMessage in class org.apache.qpid.proton.jms.JMSVendor

createObjectMessage

public ObjectMessage createObjectMessage()
Specified by:
createObjectMessage in class org.apache.qpid.proton.jms.JMSVendor

createMapMessage

public MapMessage createMapMessage()
Specified by:
createMapMessage in class org.apache.qpid.proton.jms.JMSVendor

createDestination

public Destination createDestination(String name)
Overrides:
createDestination in class org.apache.qpid.proton.jms.JMSVendor

createDestination

public <T extends Destination> T createDestination(String name,
                                                   Class<T> kind)
Overrides:
createDestination in class org.apache.qpid.proton.jms.JMSVendor

setJMSXUserID

public void setJMSXUserID(Message msg,
                          String value)
Specified by:
setJMSXUserID in class org.apache.qpid.proton.jms.JMSVendor

setJMSXGroupID

public void setJMSXGroupID(Message msg,
                           String value)
Specified by:
setJMSXGroupID in class org.apache.qpid.proton.jms.JMSVendor

setJMSXGroupSequence

public void setJMSXGroupSequence(Message msg,
                                 int value)
Specified by:
setJMSXGroupSequence in class org.apache.qpid.proton.jms.JMSVendor

setJMSXDeliveryCount

public void setJMSXDeliveryCount(Message msg,
                                 long value)
Specified by:
setJMSXDeliveryCount in class org.apache.qpid.proton.jms.JMSVendor

toAddress

public String toAddress(Destination dest)
Specified by:
toAddress in class org.apache.qpid.proton.jms.JMSVendor


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.