-2

I am new to fuse esb,I have a requirement where I have two web applications which will be in different servers (applications will be in different Jboss servers and Fuse will be in another physical machine) and they need to communicate using REST protocol via the fuse esb,I know that I have to use camel for routing the incoming request from one application to the another application,can any please share some thoughts or any link where I can get some information.I am frankly clueless at the moment any help will be greatly appreciated.

Regards,

Frederic Close
  • 9,389
  • 6
  • 56
  • 67
Sayan
  • 77
  • 2
  • 10
  • This question/topic has been answered many times in this forum. There are good examples on apache camel site also. – techuser soma Sep 30 '13 at 13:37
  • Hi Tech user,my requirement is that the applications will be in two different servers (physically) where as the fuse esb will be in third server,I am looking at how to configure fuse so that these two applications can communicate. All the examples I found have the camel router within the application,which I cant do as these are existing applications.I have to use camel to facilitate the communication between the applications. – Sayan Oct 02 '13 at 14:41
  • Routes connecting web services are usually run outside of the application running the services. Not sure which example you are talking about. If you are looking for running on fuse then check the redhat documentation. I dont think you will get a tutorial here. – techuser soma Oct 03 '13 at 15:24
  • Thank you TechUser,I am kindda understanding camel much better now after going through the documentations once again,and I am much more confident in achieving the solution.. – Sayan Oct 03 '13 at 19:18

1 Answers1

0

I bet you have some requirement of exposing the REST API inside FUSE to achieve loose coupling.

You could use CXFRS to expose your REST interface if you need to parse the datatypes sent to Java and maybe map them to something else.

Another, somewhat simpler, component is Restlet. It allows you to deal with most aspects of REST style interfaces, such as URI parsing.

Since REST is plain HTTP, in some cases you can come a long way using the servlet/http4 components, maybe to simply proxy or route HTTP requests.

In any case, read up on those components and come back with more specific questions, should you have any

Petter Nordlander
  • 22,053
  • 5
  • 50
  • 84