Consider the following code:
<amq:transportConnectors>
<amq:transportConnector uri="${esb.endpoint}"/>
</amq:transportConnectors>
It is not able to resolve the uri value. The error I am getting is :
STACKTRACE:
at com.mincom.util.gadget.Starter.run(Starter.java:40)
THROWABLE: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean
definition with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class
path resource [minestar/esbadapter/service/EsbEmbeddedApacheContext.xml]: Could not
resolve placeholder 'esb.endpoint' in string value "${esb.endpoint}"; nested exception
is java.lang.IllegalArgumentException: Could not resolve placeholder 'esb.endpoint' in
string value "${esb.endpoint}"
Am I doing anything wrong here?