org.apache.activemq.camel.converter
Class ActiveMQConverter
java.lang.Object
org.apache.activemq.camel.converter.ActiveMQConverter
@Converter
public class ActiveMQConverter
- extends Object
- Version:
- $Revision: 583184 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActiveMQConverter
public ActiveMQConverter()
toDestination
@Converter
public static ActiveMQDestination toDestination(String name)
- Converts a URL in ActiveMQ syntax to a destination such as to support
"queue://foo.bar" or 'topic://bar.whatnot". Things default to queues if no scheme.
This allows ActiveMQ destinations to be passed around as Strings and converted back again.
- Parameters:
name
- is the name of the queue or the full URI using prefixes queue:// or topic://
- Returns:
- the ActiveMQ destination
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.