Re: Invoking EJB method with parameters

2021-08-27 Thread Claus Ibsen
Hi The ejb component extends the bean component, so you can do what the bean component supports. In the method you can specify the parameters separated by comma https://camel.apache.org/components/latest/bean-component.html https://camel.apache.org/manual/latest/bean-binding.html So if the body i

Re: Invoking EJB method with parameters

2021-08-26 Thread Mansour Al Akeel
Claus, Thank you for taking the time to reply. We have multiple web applications, some of them are spring based running in wildfly. We need to be able to bridge them, and allow talking to an existing EJB application on the same or remote machines. We thought using camel brings a value in keeping th

Re: Invoking EJB method with parameters

2021-08-26 Thread Claus Ibsen
Hi I am not sure we understand exactly your question. The message body is set to a fixed String value of param-1, and then you want to call an EJB. What is the EJB method signature? And EJB can be called from regular Java so you can always just let Camel call a bean / processor, and from there yo

Re: Invoking EJB method with parameters

2021-08-26 Thread Mansour Al Akeel
I am not sure if there is missing information preventing this question from getting an answer. On Wed, 25 Aug 2021 at 12:08, Mansour Al Akeel wrote: > > We have a legacy system that we are trying to integrate with. The > system is composed of EJB 3.0 > > Things are fine when calling an ejb method

Invoking EJB method with parameters

2021-08-25 Thread Mansour Al Akeel
We have a legacy system that we are trying to integrate with. The system is composed of EJB 3.0 Things are fine when calling an ejb method with no arguments. However, I am unable to invoke methods with parameters. The documentation for EJB component https://camel.apache.org/components/2.x/ejb-com