camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omar Atia <>
Subject RE: Configuration for Apache camel...
Date Sun, 27 Nov 2011 08:34:14 GMT
Dear Willem,

Kindly find attached XML Used to create Subscriber on IN , this XML will be fed into Camel
route , that listens to tcp-mina port .

I'm doing spring configuration and using POJO format in order to fed the XML directly after
JAXB into the WS .

The question , you mentioned below that you can send the request direct to backend WS service
how ?

For performance testing , we just tried sending 100,000 request daily and it goes fine while
monitoring through Jconsole .

Omar Atia

-----Original Message-----
From: Willem Jiang [] 
Sent: Sunday, November 27, 2011 5:43 AM
Subject: Re: Configuration for Apache camel...

Did you have a chance to do some performance test ?

What's your XML String looks like ?  If there are not much change on the 
XML, you can send the request direct to back end WS service.

We could do some enhancement according to your requirement.

On Sat Nov 26 16:07:12 2011, Omar Atia wrote:
> Just to assume that Mina tcp endpoint will receive maximum 1500 Byte as XML string per
trx in synchronous mode ...can this be dangerous ...
> Sent via BlackBerry® from mtc touch
> -----Original Message-----
> From: Björn Bength<>
> Date: Sat, 26 Nov 2011 00:54:39
> To:<>
> Reply-To:<>
> Subject: Re: Configuration for Apache camel...
> Hi,
> depends on what you do with your objects..
> if all transaction payload are very, very large objects coming in at
> the same time and/or you store them in memory it will eventually leak
> yes.
> If you do normal sensible processing, and your load is spread out over
> the day, one million transactions a day is not too much at all.
> one million tx per hour should also be fine (from a camel perspective)
> if your hardware is not too old and your backend systems are up to it.
> you might need to add load balancing to another node at this stage
> depending on all aspects of your case.
> Regards
> B
> On Fri, Nov 25, 2011 at 10:34 PM, atiato<>  wrote:
>> Dears ,
>> I would like to know if there is special configuration for camel if we are
>> having heavy load , let us assume the following :
>> 1- have Mina TCP endpoint .
>> 2- from TCP I use JAXB to transform XML coming into Object.
>> 3- call the Web service using CXF endpoint.
>> 4- convert response into Object .
>> 5- use JAXB to convert Object to XML .
>> 6- return that XML as response to TCP session.
>> I have more than million transaction per day .
>> How can I handle such load in apache camel taking into consideration high
>> availability with two sun server and load balancing assume WS response is
>> less than 1 second.
>> Can this cause a memory leaks for example and use 100 % of memory .
>> Can this consume all CPU and resources of the system .
>> does this need to increase memory used for apache camel ?
>> let us say we are having solaries sparc as hardware .
>> I really appreciate your response .
>> Thanks,
>> Omar Atia
>> --
>> View this message in context:
>> Sent from the Camel - Users mailing list archive at

Blog: (English)
Twitter: willemjiang
Weibo: willemjiang
View raw message