Hi!
Thanks. I now found out what didn't work. I implemented ComponentLifecycle
myself and implemented init like this:
public void init(ComponentContext componentContext) throws JBIException
{
super.init(componentContext);
_componentContext = componentContext;
_componentContext.activateEndpoint(new QName("http://c1wps.de/esb",
"kontobinding"), "kontobinding");
_kontoService = new KontoService();
}
The endpoint activation doesn't seem to work or maybe it works but it
doesn't match the QName {http://c1wps.de/esb/}kontobinding anymore. Now I
extended ComponentSupport and it works. I'll have to check the
ComponentSupport source to check how to activate the endpoint in the right
way.
One strange thing I noted is that exceptions that are thrown by the Binding
component are somehow eaten by ServiceMix and never shown.
Anyways thanks for the patience,
Robert
--
View this message in context:
http://www.nabble.com/Trying-to-make-ServiceMix-run-embedded-inside-Spring-t1728207.html#a4719821
Sent from the ServiceMix - User forum at Nabble.com.