How to use String constants in camel's blueprint.xml ?
Issue
- In
javacode, user is using literals like
@Produce(uri = "activemq:queue:uk.gov.camden.planning.alerts.sendNotifications")
protected ProducerTemplate inputEndpoint;
- And in
blueprint.xmlfiles, user then use
<route id="listSubscribedAlerts">
<from uri="activemq:queue:xxx.yyy..sendNotifications" />
- Is there any way to use something like below inside of a
blueprint.xmlfile?
public interface iRouteContants {
public static final String SEND_QUEUE = "activemq:queue:uk.gov.camden.planning.alerts.sendNotifications"
}
Environment
- Red Hat JBoss Fuse
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
