Within my code, I want to know the service QName and the endpoint name that was "configured" for my endpoint. In other words, I want to know the information from the xbean.xml file that was used to configure my ServiceEndpoint instance. Does that make sense?
- Ron lhe77 wrote: > > I think you can't "calculate" it. The service or endpoint is a thing of > your configuration. What you can do of course is routing a message to a > specific service depending on the content of the message. > Otherwise you have to set your targetService / targetEndpoint to suit your > needs. > > Regards > Lars > > > > > rgavlin schrieb: >> Greetings, >> >> I have a servicemix-bean similar to the example ListenerBean >> (http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/deployables/serviceengines/servicemix-bean/xref-test/org/apache/servicemix/bean/beans/ListenerBean.html). >> Within onMessageExchange(), how can I calculate the relevant service & >> endpoint values? >> >> Thanks in advance. >> >> - Ron >> > > -- View this message in context: http://www.nabble.com/Calculating-service---endpoint-from-within-servicemix-bean.onMessageExchange%28%29-tp16533225p16537243.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
