Hi! I'm trying to make ServiceMix run embedded inside a Spring container. I tried it that way it is described on http://servicemix.org/site/spring-support.html and http://servicemix.org/site/client-api.html. Unfortunately that didn't work at all. The provided Spring 1.2.6 doesn't seem to handle configuration files with XML Schema definitions well. So I took Spring 2.0 M4. Now the problem is that sm:container doesn't have that attributes id and embedded according to the Schema. So now I tried the pure-Spring approach, shown on http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-core/src/test/resources/org/apache/servicemix/examples/spring-simple.xml . I created a ReceiverComponent-bean and set the service property to what in the other approach would be the service attribute on the activationSpec. I guessed that the endpoint property would take the class name of my component which was specified by sm:component in the other approach. Well, now I don't get any exceptions any more and something runs, but it's definitely not my component. ServiceMix seems to find something. Specifying some non existing name for the call yields the expected exception. BTW: I'm using (or betterr trying to use) 30-M1.
Cheers, Robert -- View this message in context: http://www.nabble.com/Trying-to-make-ServiceMix-run-embedded-inside-Spring-t1728207.html#a4695546 Sent from the ServiceMix - User forum at Nabble.com.
