Camel route to call and get response from java -jar within ESB

Latest response


I have 2 jar files which talks to vendor API which usually executed by java -jar block.jar

I have deployed this block.jar into ESB as a bundle and would like to trigger and get the response captured inside the Camel route

Can anyone give some example or code snippet for this please


Hello Joshua,

How do you call the vendor API? Is it a HTTP call? Also, did you deploy the jar into Fuse 7? Using what runtime (Karaf, Spring Boot or EAP)?

You could likely use Camel altogether to call the vendor API, depending on the protocol used. E.g. for HTTP there is a camel-http4 component, documented at