0

In the broadest sense, I have numerous Web Service which the user sends HTTP Post commands to, and returns XML results back. The problem is they all sit on separate Tomcat servers, making the URLs are completely different and hard to keep track; and the XML results of each service are different formats and require different parsing methods. I want to utilize ServiceMix's NMR, and Camel's routing mechanism to send all these HTTP Requests to one source, and have it parse the result before sending it back. I have the Camel routing mechanism working, but right now it's another WAR file, which sits on another Tomcat server. How would I migrate this to ServiceMix?

рüффп
  • 5,172
  • 34
  • 67
  • 113

1 Answers1

1

Apache ServiceMix can deploy WAR applications, so you can try just by copying the .war file to the deploy directory.

Claus Ibsen
  • 56,060
  • 7
  • 50
  • 65
  • I tried that and doesn't work. I thought in order to do that, you need to convert it to an OSGi bundle. Know any good documentation on how to do that? – AdamMurderface Dec 04 '12 at 15:12
  • Not all WAR files is supported as the base container is OSGi based, and if the WAR uses some "magic" classloading, then it may not work. For example Apache Tapestry do not work with OSGi. – Claus Ibsen Dec 05 '12 at 08:06