You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Bilgin Ibryam <bi...@gmail.com> on 2012/06/08 02:30:45 UTC

OFBiz - Camel integration

Hi all,

I've started working on a POC for integrating Apache Camel with OFBiz.
It is still in early stages, but has a simple example showing how to
use Camel for polling files from a directory and execute OFBiz
services with it. You can read about it on my blog http://goo.gl/bW2vS

I believe it can be useful for situations when you have to connect
OFBiz with other systems or protocols (like web services - the most
often asked on the mailing list). Camel has great deal of available
connectors http://camel.apache.org/components.html

In the mean time, I'd like to know what are the most common external
systems you connect OFBiz to.

Regards
Bilgin Ibryam

Re: OFBiz - Camel integration

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Bilgin Ibryam" <bi...@gmail.com>
> @Jacques  Camel also supports async routing and much more, like
> Throttler, Delayer, Load Balancer ... so it might be useful also in
> your case.

Unfortunately I don't think so. I currently work for a very large company in term of infrastructure and they have their own way 
which don't include ESB and Camel so far. Though I'm sure they would benefit from it...

Jacques 

Re: OFBiz - Camel integration

Posted by Adrian Crum <ad...@sandglass-software.com>.
REST.

-Adrian

On 6/11/2012 1:34 PM, Bilgin Ibryam wrote:
> @Adrian what do you use to connect OFBiz to ESB ?
>
> @Jacques  Camel also supports async routing and much more, like
> Throttler, Delayer, Load Balancer ... so it might be useful also in
> your case.
>
> @All
> I just updated the post with a new example which shows how to run
> OFBiz and Camel separately and use RMI to communicate.
> In the demo application  [1] Camel will listen for tweets with a given
> keyword and create a note in OFBiz using createNote service. Something
> like this might be useful, if you want to follow twitter and see if
> someone is mentioning your company, products and create a
> CommunicationEvent, Task in OFBiz. Or even use an ECA to tweet every
> time a new product is released...
>
> Anyway, this is not supposed be included in OFBiz. The idea is if
> someone wants to integrate OFBiz with an external system, can leverage
> the available Camel connectors and enterprise integration patterns, by
> simply connecting OFBiz and Camel.
>
> Bilgin
>
> [1] https://github.com/bibryam/camel-ofbiz-rmi
>
>
> On 9 June 2012 14:09, Jacques Le Roux<ja...@les7arts.com>  wrote:
>> Hi Bilgin,
>>
>> In the project I work currently, we mostly use RMI and some SOAP. Time is
>> critical, so most of the time calls are done with aysnc services wrapping
>> RMI, in order to not block the main process. Addind another thing between
>> would not help...
>> But in general yes, Camel is also IMO the more advanced tool for this kind
>> of stuff. Looking forward for your project, and how the OFBiz community will
>> consider it...
>>
>> Jacques
>>
>> From: "Adrian Crum"<ad...@sandglass-software.com>
>>
>>> We connect OFBiz to an ESB - so there is only one connection necessary for
>>> any number of external systems.
>>>
>>> -Adrian
>>>
>>> On 6/8/2012 1:30 AM, Bilgin Ibryam wrote:
>>>> Hi all,
>>>>
>>>> I've started working on a POC for integrating Apache Camel with OFBiz.
>>>> It is still in early stages, but has a simple example showing how to
>>>> use Camel for polling files from a directory and execute OFBiz
>>>> services with it. You can read about it on my blog http://goo.gl/bW2vS
>>>>
>>>> I believe it can be useful for situations when you have to connect
>>>> OFBiz with other systems or protocols (like web services - the most
>>>> often asked on the mailing list). Camel has great deal of available
>>>> connectors http://camel.apache.org/components.html
>>>>
>>>> In the mean time, I'd like to know what are the most common external
>>>> systems you connect OFBiz to.
>>>>
>>>> Regards
>>>> Bilgin Ibryam

Re: OFBiz - Camel integration

Posted by Bilgin Ibryam <bi...@gmail.com>.
@Adrian what do you use to connect OFBiz to ESB ?

@Jacques  Camel also supports async routing and much more, like
Throttler, Delayer, Load Balancer ... so it might be useful also in
your case.

@All
I just updated the post with a new example which shows how to run
OFBiz and Camel separately and use RMI to communicate.
In the demo application  [1] Camel will listen for tweets with a given
keyword and create a note in OFBiz using createNote service. Something
like this might be useful, if you want to follow twitter and see if
someone is mentioning your company, products and create a
CommunicationEvent, Task in OFBiz. Or even use an ECA to tweet every
time a new product is released...

Anyway, this is not supposed be included in OFBiz. The idea is if
someone wants to integrate OFBiz with an external system, can leverage
the available Camel connectors and enterprise integration patterns, by
simply connecting OFBiz and Camel.

Bilgin

[1] https://github.com/bibryam/camel-ofbiz-rmi


On 9 June 2012 14:09, Jacques Le Roux <ja...@les7arts.com> wrote:
> Hi Bilgin,
>
> In the project I work currently, we mostly use RMI and some SOAP. Time is
> critical, so most of the time calls are done with aysnc services wrapping
> RMI, in order to not block the main process. Addind another thing between
> would not help...
> But in general yes, Camel is also IMO the more advanced tool for this kind
> of stuff. Looking forward for your project, and how the OFBiz community will
> consider it...
>
> Jacques
>
> From: "Adrian Crum" <ad...@sandglass-software.com>
>
>> We connect OFBiz to an ESB - so there is only one connection necessary for
>> any number of external systems.
>>
>> -Adrian
>>
>> On 6/8/2012 1:30 AM, Bilgin Ibryam wrote:
>>>
>>> Hi all,
>>>
>>> I've started working on a POC for integrating Apache Camel with OFBiz.
>>> It is still in early stages, but has a simple example showing how to
>>> use Camel for polling files from a directory and execute OFBiz
>>> services with it. You can read about it on my blog http://goo.gl/bW2vS
>>>
>>> I believe it can be useful for situations when you have to connect
>>> OFBiz with other systems or protocols (like web services - the most
>>> often asked on the mailing list). Camel has great deal of available
>>> connectors http://camel.apache.org/components.html
>>>
>>> In the mean time, I'd like to know what are the most common external
>>> systems you connect OFBiz to.
>>>
>>> Regards
>>> Bilgin Ibryam

Re: OFBiz - Camel integration

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Bilgin,

In the project I work currently, we mostly use RMI and some SOAP. Time is critical, so most of the time calls are done with aysnc 
services wrapping RMI, in order to not block the main process. Addind another thing between would not help...
But in general yes, Camel is also IMO the more advanced tool for this kind of stuff. Looking forward for your project, and how the 
OFBiz community will consider it...

Jacques

From: "Adrian Crum" <ad...@sandglass-software.com>
> We connect OFBiz to an ESB - so there is only one connection necessary for any number of external systems.
>
> -Adrian
>
> On 6/8/2012 1:30 AM, Bilgin Ibryam wrote:
>> Hi all,
>>
>> I've started working on a POC for integrating Apache Camel with OFBiz.
>> It is still in early stages, but has a simple example showing how to
>> use Camel for polling files from a directory and execute OFBiz
>> services with it. You can read about it on my blog http://goo.gl/bW2vS
>>
>> I believe it can be useful for situations when you have to connect
>> OFBiz with other systems or protocols (like web services - the most
>> often asked on the mailing list). Camel has great deal of available
>> connectors http://camel.apache.org/components.html
>>
>> In the mean time, I'd like to know what are the most common external
>> systems you connect OFBiz to.
>>
>> Regards
>> Bilgin Ibryam 

Re: OFBiz - Camel integration

Posted by Adrian Crum <ad...@sandglass-software.com>.
We connect OFBiz to an ESB - so there is only one connection necessary 
for any number of external systems.

-Adrian

On 6/8/2012 1:30 AM, Bilgin Ibryam wrote:
> Hi all,
>
> I've started working on a POC for integrating Apache Camel with OFBiz.
> It is still in early stages, but has a simple example showing how to
> use Camel for polling files from a directory and execute OFBiz
> services with it. You can read about it on my blog http://goo.gl/bW2vS
>
> I believe it can be useful for situations when you have to connect
> OFBiz with other systems or protocols (like web services - the most
> often asked on the mailing list). Camel has great deal of available
> connectors http://camel.apache.org/components.html
>
> In the mean time, I'd like to know what are the most common external
> systems you connect OFBiz to.
>
> Regards
> Bilgin Ibryam