OFBiz - Camel integration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

OFBiz - Camel integration

Bilgin Ibryam-2
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
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz - Camel integration

Adrian Crum-3
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
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz - Camel integration

Jacques Le Roux
Administrator
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" <[hidden email]>

> 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
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz - Camel integration

Bilgin Ibryam-2
@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 <[hidden email]> 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" <[hidden email]>
>
>> 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
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz - Camel integration

Adrian Crum-3
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<[hidden email]>  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"<[hidden email]>
>>
>>> 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
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz - Camel integration

Jacques Le Roux
Administrator
In reply to this post by Bilgin Ibryam-2
From: "Bilgin Ibryam" <[hidden email]>
> @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