camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" <>
Subject Re: Fine grain or course grain Processors
Date Wed, 26 Nov 2008 11:56:03 GMT

I doubt there is a best practice as what is best for you might not be
best for another.

Services as POJO beans can be used in Camel using bean-integration, so
you can have a MyOrderService POJO that exposes 10 methods for order
processing. Then you can call the same POJO but specify which method
to call for each processing step.

/Claus Ibsen
Apache Camel Committer

On Tue, Nov 25, 2008 at 1:57 AM, Gary Struthers <> wrote:
> Coarse grain Web Services are usually preferred over fine grained ones. What's a good
granularity for Camel Processors? A Web Service that makes JPA calls and sends a notification
of some kind could be a single Processor or be separated into Web Service, JPA, and notification
processors. Is there a rule of thumb or do people find themselves splitting and combining
Processors ad hoc?
> Gary Struthers
> Sr. Software Architect
> Kuali Student
> University of California

View raw message