Class ActiveMQConverter
- java.lang.Object
-
- org.apache.camel.component.activemq.converter.ActiveMQConverter
-
@Converter(generateLoader=true) public class ActiveMQConverter extends Object
-
-
Constructor Summary
Constructors Constructor Description ActiveMQConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.activemq.command.ActiveMQDestination
toDestination(String name)
Converts a URL in ActiveMQ syntax to a destination such as to support "queue://foo.bar" or 'topic://bar.whatnot".
-
-
-
Method Detail
-
toDestination
@Converter public org.apache.activemq.command.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
-
-