Hi, Thanks Freeman for the response.
In few words, i'm needing to process an http endpoint definition that corresponds to a service assembly. I have achieved it by registering an assembly listener which process each service unit and selecting its http endpoints. For each http endpoint, its xml bean definition is processed for collecting the information. Now i'm needing to access runtime information about the endpoint. For instance http endpoint URI could have been rewritten and i can 't get its information since i'm working with xml documents.
How can i get that runtime information?
Thanks in advance



Freeman Fang escribió:
Hi,

My comment inline
On 2010-3-22, at 下午11:30, Matias Urbieta wrote:

Hi, thanks. And is some way to do this inside the smx container ? if yes, i can publish in a custom way (for example with a ws) for avoiding security problems in productive environments.
Thanks
Regards
Yeah, I think so.
You can get JBIContainer instance from ComponentContext, then get EndpointRegistry from JBIContainer, then get endpoints per component(servicemix-http or servicemix-cxf-bc) you want.

Take a look at the EndpointRegistry[1]

[1]https://svn.apache.org/repos/asf/servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java

Freeman


Freeman Fang escribió:
Hi,

If your tool is outside smx container and in another JVM, I'd say use JMX is the only way I know to get endpoints infos.

Freeman
On 2010-3-20, at 上午4:09, Matias Urbieta wrote:

Hi, i'm developing a tool for updating service catalog registries with services information that are deployed at ServiceMix. I'm looking for a method or heuristic for resolving available web servicies. I found that ES and BC components are available with JMX technology and endpoints are available under org.apache.servicemix/ServiceMix/Endpoint path. Probably i can filter available endpoints by componentName selecting servicemix-cxf-bc and servicemix-http ones. but may be there is another method that i'm missing.
Is there another way to resolve web services information?
Thanks in advance
--
GPI Argentina <http://www.gpi.com.ar>     *Matias Urbieta*
[email protected] <mailto:[email protected]>
www.gpi.com.ar <http://www.gpi.com.ar>     53 n366, piso 9
La Plata / Buenos Aires / Argentina
(54)-221-427-5781





--
GPI Argentina <http://www.gpi.com.ar>     *Matias Urbieta*
[email protected] <mailto:[email protected]>
www.gpi.com.ar <http://www.gpi.com.ar>     53 n366, piso 9
La Plata / Buenos Aires / Argentina
(54)-221-427-5781





--
GPI Argentina <http://www.gpi.com.ar>     *Matias Urbieta*
[email protected] <mailto:[email protected]>
www.gpi.com.ar <http://www.gpi.com.ar>    53 n366, piso 9
La Plata / Buenos Aires / Argentina
(54)-221-427-5781

Reply via email to