org.apache.activemq.network.jms
Interface JmsMesageConvertor

All Known Implementing Classes:
SimpleJmsMessageConvertor

public interface JmsMesageConvertor

Converts Message from one JMS to another

Version:
$Revision: 1.1.1.1 $

Method Summary
 Message convert(Message message)
          Convert a foreign JMS Message to a native ActiveMQ Message
 Message convert(Message message, Destination replyTo)
           
 void setConnection(Connection connection)
           
 

Method Detail

convert

Message convert(Message message)
                throws JMSException
Convert a foreign JMS Message to a native ActiveMQ Message

Parameters:
message -
Returns:
the converted message
Throws:
JMSException

convert

Message convert(Message message,
                Destination replyTo)
                throws JMSException
Throws:
JMSException

setConnection

void setConnection(Connection connection)


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.