servicemix

access Spring context in OSGi bundle

I have an OSGi bundle that uses the bundle-context.xml file to initialize a bean. <bean id="myBean" class="test.MyClass"> <property name="output" value="test"/> </bean> I have a factory class that needs to get the bean instance. In the non-OSGI world, I've always just the following to initialize the context and get a handle to a...

Has anyone succesfully got Tomcat running via Spring OSGi Web in ServiceMix4?

We've been using Fuse's Apache ServiceMix version 4.2.0-fuse-02-00 for a while now for standard OSGi applications and have been fairly successful. We've also been leveraging CXF for making web services available. Now we'd like to deploy our webapps to servicemix4 and leverage the OSGi layer for dependencies and services. However it seem...

Apache Camel and other ESB products

Hey, If we have Apache Camel why to use other solutions like Apache ServiceMix and Mule? Is there something Apache Camel can't do comparing to these products? When to use Mule/ServiceMix and when to use Camel? ...

Apache Camel: Keeping routing information completely independent of the Java Code

First of all thanks to folks who are currently involved in the development of Camel, I am grateful for all the hard work they have put in. I am looking for some design advice. The architecture is something like this: I have a bunch of Java classes which when instantiated are required to connect to each other and send messages using Ap...

Boolean return type not working with RestTemplate

Hi All, I am using Spring 3.0.3 RestTemplate for making RESTfull call to service which is deployed in servicemix ESB. Service method returns boolean value, and am unable to receive this in RestTemplate response. String query = "?userId="+userId; RestTemplate rest = new RestTemplate(); Map<String, String> params = new HashMap<String, S...

Why is FUSE ESB (ServiceMix) 4.3 shutting down on linux if I leave karaf console?

I use ServiceMix 4.2 on my local Windows machine for development. Now I installed a FUSE ESB 4.3 in a Linux environment and start it via SSHing on the linux machine. After leaving the karaf console the container always shuts down. How can I leave the karaf console with ServiceMix running? (Might be just configuration, but I can't fin...