I expose my POJOs to the bus with no problems through jsr181-se. In fact my problem is accessing exposed jsr181 services within ServiceMix.
I want to access them via Java proxies rather then via messages (SM Client API). That is why I am trying to define Java proxy clients to my jsr181 services as described at [1]. I can do this via spring injection (like in the example), but this is not very convenient for me. I what to be able to access those Java proxy clients from anywhere within ServiceMix. [1] http://servicemix.apache.org/servicemix-jsr181.html gnodet wrote: > > If you want to expose your bean on the bus, you need to define JBI > endpoint > using jsr181 or servicemix-cxf-se. > There are examples of doing that in the distribution (wsdl-first and > cxf-wsdl-first). They use a wsdl first approch but > you can simply use your pojo instead of the generated one. > > On Jan 22, 2008 3:02 PM, Luchesar Cekov <[EMAIL PROTECTED]> > wrote: > >> >> Hi Guillaume, >> >> Thanks for the reply. >> Is there any way I can expose a bean (In this case JBI NMR proxy client) >> to >> be globally available in the ESB? I want to be able to access it through >> JBI >> container (SpringJBIContainer.getBean()) or via JNDI? >> My intention is to expose several services and to be able to access them >> with JBI proxy clients from anywhere within ServiceMix. >> >> Best, >> Luchesar >> >> >> -- >> View this message in context: >> http://www.nabble.com/ServiceMix-Spring-BeanFactory-hierarchy-tp15001268s12049p15019050.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > > -- View this message in context: http://www.nabble.com/ServiceMix-Spring-BeanFactory-hierarchy-tp15001268s12049p15019901.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
