Any way to improve load balancing?

2020-05-04 Thread Jackson, Douglas
Hi! With a system using activemq 5.11.1 and camel 2.15, we are seeing imbalance in the load of the consumers. We are using the settings as follows. Is there anything that can be done improve the balance? Thanks, Doug Some observations: 1. A new request was assigned to a consumer to which re

Load balancing camel endppoints

2017-06-15 Thread anjanaintergration
tomcat instance one camel context. 1. deploy my application in single tomcat instance 2. in camel-config add load balancing configuration for that endpoint which need to be load balanced 3. so the configuration would be

Re: Load Balancing Fluent Builders vs Spring

2017-01-17 Thread bob_sheknowdas
eholder.html>; > Very helpful aswell. Thank you, too -- View this message in context: http://camel.465427.n5.nabble.com/Load-Balancing-Fluent-Builders-vs-Spring-tp5792636p5792669.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Load Balancing Fluent Builders vs Spring

2017-01-16 Thread Minh Tran
file. If anyone knows a way to do that via > spring I would be most happy to learn from you : ) > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Load-Balancing-Fluent-Builders-vs-Spring-tp5792636.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Load Balancing Fluent Builders vs Spring

2017-01-16 Thread Claus Ibsen
anyone an Idea, why that is? > > > Possible workaround: > I wanted to use the RouteBuilder class since I want to read in possible > target servers from a properties file. If anyone knows a way to do that via > spring I would be most happy to learn from you : ) > > > >

Load Balancing Fluent Builders vs Spring

2017-01-16 Thread bob_sheknowdas
in context: http://camel.465427.n5.nabble.com/Load-Balancing-Fluent-Builders-vs-Spring-tp5792636.html Sent from the Camel - Users mailing list archive at Nabble.com.

Fabric Ensemble CXF load balancing

2015-11-09 Thread zied123456
application (ex:network connection broken) i want my application keep runing and automatically move to one of the others containers ? How can i do this ? -- View this message in context: http://camel.465427.n5.nabble.com/Fabric-Ensemble-CXF-load-balancing-tp5773526.html Sent from the Camel

Re: load balancing in jboss fuse 6.2

2015-07-15 Thread chaituu
thanks. -- View this message in context: http://camel.465427.n5.nabble.com/load-balancing-in-jboss-fuse-6-2-tp5769353p5769356.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: load balancing in jboss fuse 6.2

2015-07-15 Thread Claus Ibsen
ext: > http://camel.465427.n5.nabble.com/load-balancing-in-jboss-fuse-6-2-tp5769353.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2nd edition: http://www.manning.com/ibsen2

load balancing in jboss fuse 6.2

2015-07-15 Thread chaituu
we set up it in latest jboss fuse? -- View this message in context: http://camel.465427.n5.nabble.com/load-balancing-in-jboss-fuse-6-2-tp5769353.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Custom Load Balancing based on Inflight Exchange

2015-04-06 Thread Claus Ibsen
apache.org/contributing.html On Mon, Apr 6, 2015 at 1:52 PM, franktva wrote: > Thanks for the quick response. That's the exact approach I'm taking. Do you > think this feature would be useful for a future release? > > > > -- > View this message in context: > h

Re: Custom Load Balancing based on Inflight Exchange

2015-04-06 Thread franktva
Thanks for the quick response. That's the exact approach I'm taking. Do you think this feature would be useful for a future release? -- View this message in context: http://camel.465427.n5.nabble.com/Custom-Load-Balancing-based-on-Inflight-Exchange-tp5765328p5765358.html Sent from

Re: Custom Load Balancing based on Inflight Exchange

2015-04-04 Thread Claus Ibsen
rMBean client = context.getManagedProcessor("myAggregator", ManagedAggregateProcessorMBean.class); On Sat, Apr 4, 2015 at 5:43 PM, franktva wrote: > I am attempting to write a Custom Load Balancing policy based on the number > of Inflight messages per Endpoint. Basically, I want to return the > pr

Custom Load Balancing based on Inflight Exchange

2015-04-04 Thread franktva
I am attempting to write a Custom Load Balancing policy based on the number of Inflight messages per Endpoint. Basically, I want to return the processor with the least number of Inflight messages. I understand these metrics are available as JMX attributes. Is there a better approach than

Re: Examples of sticky load balancing

2015-01-26 Thread Claus Ibsen
Hi a good place also to look for examples is the unit tests of camel. There should be some for sticky load balancer. Also the Camel in Action book covers all the load balancers in chapter 8, section 8.6 On Mon, Jan 26, 2015 at 3:46 AM, Anton Hughes wrote: > Hello > > I am interesting in learnin

Examples of sticky load balancing

2015-01-25 Thread Anton Hughes
Hello I am interesting in learning - and possibly using - the Sticky Load Balancer. Are there any examples of this? The documentation gives examples of most of the others, but not this one. Thanks

How to deploy same Camel routes in multiple server nodes for load balancing and fail over?

2014-06-30 Thread sathiyaseelan
tion works correctly? Please help me guys, Thanks in advance, Sathiya seelan.M -- View this message in context: http://camel.465427.n5.nabble.com/How-to-deploy-same-Camel-routes-in-multiple-server-nodes-for-load-balancing-and-fail-over-tp5753108.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: load balancing with SMPP

2013-12-30 Thread Christian Müller
breaks the incoming messages to 160 char sms's and send it to SMSC. if we > add load balancer , it works on incoming long messages instead of outgoing > 160 length sms. for example if i set the load balancing to 5 and incoming > messages length is 800 char. it will send sms to smsc a

load balancing with SMPP

2013-12-17 Thread skshhi
While using camel-smpp if the message text is longer then 160 chars , it breaks the incoming messages to 160 char sms's and send it to SMSC. if we add load balancer , it works on incoming long messages instead of outgoing 160 length sms. for example if i set the load balancing to 5 and inc

Re: Load balancing using Mina example with Java DSL

2013-11-06 Thread pmp.martins
Awesome suggestions, I will definitely check out those books ! -- View this message in context: http://camel.465427.n5.nabble.com/Load-balancing-using-Mina-example-with-Java-DSL-tp5742566p5742728.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Load balancing using Mina example with Java DSL

2013-11-04 Thread Claus Ibsen
And in the loadbalancer, the only thing that is done is using the failvoer > construct. > > There is not one single place in the code, where I actually see explicitly > what is going on, and to me, this is quite confusing. > > > > -- > View this message in context: > http

Re: Load balancing using Mina example with Java DSL

2013-11-04 Thread pmp.martins
ng on, and to me, this is quite confusing. -- View this message in context: http://camel.465427.n5.nabble.com/Load-balancing-using-Mina-example-with-Java-DSL-tp5742566p5742585.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Load balancing using Mina example with Java DSL

2013-11-03 Thread Willem jiang
; and docs) and to see what I could learn. > > One of the examples, Load Balancing using Mina > <http://camel.apache.org/loadbalancing-mina-example.html> caught my > attention because it uses a Mina in different JVM's and it simulates a load > balancer with round r

Load balancing using Mina example with Java DSL

2013-11-03 Thread pmp.martins
o see what I could learn. One of the examples, Load Balancing using Mina <http://camel.apache.org/loadbalancing-mina-example.html> caught my attention because it uses a Mina in different JVM's and it simulates a load balancer with round robin. I have a few problems with this exa

Re: Load balancing in Camel

2013-05-13 Thread nikagra
Hi Is there any updates on how to use load balancer with dynamic router. Thanks in advance -- View this message in context: http://camel.465427.n5.nabble.com/Load-balancing-in-Camel-tp473773p5732402.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: load balancing & fail over

2012-12-29 Thread Claus Ibsen
and load balancing then Karaf doesn't offer that. (For example your application calls an external service which fails, and your application should fail-over calling some other system instead.) Yes you can use Camel without SMX for load balancing and failover. See the load balancer EIP http://ca

Re: load balancing & fail over

2012-12-28 Thread Christian Müller
The fail over mechanism is implemented by Apache Karaf and well documented. Google for it... Sent from a mobile device Am 28.12.2012 21:09 schrieb "maheshadepu" : > Hi All, > > Is it possible to implement load balancing & fail over without using Apache > Service Mix. &

load balancing & fail over

2012-12-28 Thread maheshadepu
Hi All, Is it possible to implement load balancing & fail over without using Apache Service Mix. I have few camel routes those are declared in spring xml file. I am loading camel/spring context thru a java class. This works fine for development machines. I want to implement load balancing &a

Re: Performing Sticky load balancing in Camel.

2012-09-13 Thread balkishore
ring.class)) .to(BE1,BE2); Where env is my namespace and BE1 and BE2 are backend servers! -- View this message in context: http://camel.465427.n5.nabble.com/Performing-Sticky-load-balancing-in-Camel-tp5719170p5719241.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Performing Sticky load balancing in Camel.

2012-09-12 Thread balkishore
elp could be appropriate. -- View this message in context: http://camel.465427.n5.nabble.com/Performing-Sticky-load-balancing-in-Camel-tp5719170p5719189.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Performing Sticky load balancing in Camel.

2012-09-12 Thread balkishore
And My Xpath expression is xpath.compile("/*[local-name()='Envelope']/*[local-name()='Header']/*[local-name()='ReplyTo']/*[local-name()='ReferenceParameters']/*[local-name()='ServiceGroupId']/text()") Is it right? -- View this message in c

Re: Performing Sticky load balancing in Camel.

2012-09-12 Thread Willem jiang
Instead of using camel-cxf component, this is most effective way to do the load balancing. I think you can do some tracing work to see if the xpath expression return the right ServiceGroupID first. Then we can keep digging if the sticky load balancing is doing its job. -- Willem Jiang

Re: Performing Sticky load balancing in Camel.

2012-09-12 Thread Claus Ibsen
paces wsa = new Namespaces("wsa", > "http://www.w3.org/2005/08/addressing";); > Namespaces ax = new Namespaces("axis2", > "http://ws.apache.org/namespaces/axis2";); > > Am I doing something wrong here? > If so what? I would appreciate any help. >

Performing Sticky load balancing in Camel.

2012-09-12 Thread balkishore
any help. -- View this message in context: http://camel.465427.n5.nabble.com/Performing-Sticky-load-balancing-in-Camel-tp5719170.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Load balancing-camel in real world

2012-08-16 Thread balkishore
=true";) Hope it helps! -- View this message in context: http://camel.465427.n5.nabble.com/Load-balancing-camel-in-real-world-tp5717381p5717541.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Load balancing-camel in real world

2012-08-15 Thread balkishore
Yes I tried! But still it didn't work. I am getting this error with the bridgeEndpoint added in the code. Any help would be very much appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/Load-balancing-camel-in-real-world-tp5717381p5717424.html Sent from the

Re: Load balancing-camel in real world

2012-08-15 Thread Willem jiang
lper.java:73) > at java.lang.Thread.run(Thread.java:662) > And many others. > > I have no idea what's wrong here? > Any help would be really appreciated. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Load-balancing-camel-in-real-world-tp5717381p5717391.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).

Re: Load balancing-camel in real world

2012-08-15 Thread balkishore
camel.465427.n5.nabble.com/Load-balancing-camel-in-real-world-tp5717381p5717391.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Load balancing-camel in real world

2012-08-15 Thread balkishore
appreciated. And again thanks a ton for replying. -- View this message in context: http://camel.465427.n5.nabble.com/Load-balancing-camel-in-real-world-tp5717381p5717390.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Load balancing-camel in real world

2012-08-15 Thread Willem jiang
ednesday, August 15, 2012 at 8:10 PM, balkishore wrote: > Dear memebers, > This would be my first post in this forum and I am glad. I have started > using camel a while back for a project of mine to create a load balancing > application. > > Well to start with, > My load bal

Re: Load balancing-camel in real world

2012-08-15 Thread Claus Ibsen
that in a web browser do you see a response? > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Load-balancing-camel-in-real-world-tp5717381p5717383.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen

Re: Load balancing-camel in real world

2012-08-15 Thread balkishore
Thanks for replying. But I even tried using 0.0.0.0. Still my problem is not resolved. -- View this message in context: http://camel.465427.n5.nabble.com/Load-balancing-camel-in-real-world-tp5717381p5717383.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Load balancing-camel in real world

2012-08-15 Thread Christian Müller
arted > using camel a while back for a project of mine to create a load balancing > application. > > Well to start with, > My load balncer would listen to a port, lets say 8080 and would balance all > the incoming SOAP requests to a set of backened servers. > These backend serve

Load balancing-camel in real world

2012-08-15 Thread balkishore
Dear memebers, This would be my first post in this forum and I am glad. I have started using camel a while back for a project of mine to create a load balancing application. Well to start with, My load balncer would listen to a port, lets say 8080 and would balance all the incoming SOAP requests

Re: Load Balancing

2012-05-14 Thread Rocco Gallo Citera
I did the following: I define a client with a timer triggering every 10 ms and a HTTP endpoint, then I wrote a server with a Jetty enpoint and a Hazelcast endpoint to get items from a queue full of items, and started a client and two servers adding a load balancing in the client. Instead of

Re: Load Balancing

2012-05-12 Thread Claus Ibsen
On Fri, May 11, 2012 at 6:05 PM, Rocco Gallo Citera wrote: > Thank you Claus, I read both before sending the mail. > I will try to explain myself better. > I do not understand why, with load balancing between two HTTP nodes, > if I have a client route starting with a timer

Re: Load Balancing

2012-05-11 Thread Rocco Gallo Citera
Thank you Claus, I read both before sending the mail. I will try to explain myself better. I do not understand why, with load balancing between two HTTP nodes, if I have a client route starting with a timer with certain configuration, the client makes "independent" continuous requests

Re: Load Balancing

2012-05-10 Thread Claus Ibsen
if those links help you a bit. And then come back later if you still have some questions. On Thu, May 10, 2012 at 5:09 PM, Rocco Gallo Citera wrote: > Hello, sorry to bother but I have a problem understanding how load > balancing works with some endpoints. > Basically, I have the follow

Load Balancing

2012-05-10 Thread Rocco Gallo Citera
Hello, sorry to bother but I have a problem understanding how load balancing works with some endpoints. Basically, I have the following route in a client: from(timer endpoint) .loadbalance().roundrobin() (with other types of load balancing the problem is similar) .to(http endpoint 1, http endpoint

Re: Sticky failover load balancing

2011-04-28 Thread Claus Ibsen
che Camel Committer & Sr Principal Consultant > FUSESource (a Progress Software Corporation subsidiary) > http://fusesource.com > > Blog: http://opensourceknowledge.blogspot.com > CamelOne 2011: http://fusesource.com/camel2011 > ---

Re: Sticky failover load balancing

2011-04-28 Thread Ashwin Karpe
7.n5.nabble.com/Sticky-failover-load-balancing-tp4346193p4346268.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sticky failover load balancing

2011-04-28 Thread Ashwin Karpe
age in context: http://camel.465427.n5.nabble.com/Sticky-failover-load-balancing-tp4346193p4346252.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sticky failover load balancing

2011-04-28 Thread Ashwin Karpe
age in context: http://camel.465427.n5.nabble.com/Sticky-failover-load-balancing-tp4346193p4346251.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Questions On JMX And Load Balancing

2009-08-04 Thread Claus Ibsen
Hi Yeah JMX is slated for an overhaul in 2.1. It would be nice to get more JMX control for various DSL types such as load balancers, delayers, throttlers, and whatnot. You may be able to use the navigate API in 2.0 to lookup the load balancer processor and manipulate it directly to remove the pr

Re: Questions On JMX And Load Balancing

2009-08-04 Thread Willem Jiang
Hi Camel 1.x doesn't support the change the route dynamically. Camel 2.0 supports to modify the route dynamically. But for your requirement, I don't think current Camel 2.0 snapshot supports this found , since we don't export the load balancer's processor to the JMX. We have plan to do some enh

Questions On JMX And Load Balancing

2009-08-04 Thread Carlo Camerino
Hi, I have this route which is load balanced to three activemq queueues. At runtime, i wish to disable for example the round robin load balancer from sending to activemq:c. Can I do this via JMX? I tried on killing routes but I get an exception saying that it's not supported. Here is an examp

Re: Load Balancing Questions

2009-07-29 Thread Carlo Camerino
; Roman > > 2009/7/29 Carlo Camerino : > > Hi, > > > > I have an inquiry regarding balancing. > > If i use round robin load balancing, it will distribute my requests into > > three different queues which have different processors in them. > > > > If I spaw

Re: Load Balancing Questions

2009-07-29 Thread Roman Kalukiewicz
to("mock:x", "mock:y", "mock:z"); I believe it should work. Roman 2009/7/29 Carlo Camerino : > Hi, > > I have an inquiry regarding balancing. > If i use round robin load balancing, it will distribute my requests into > three different queues which have diffe

Load Balancing Questions

2009-07-29 Thread Carlo Camerino
Hi, I have an inquiry regarding balancing. If i use round robin load balancing, it will distribute my requests into three different queues which have different processors in them. If I spawn for example 200 threads, they will go to queue 1,2,3 in a round robin way. This is if 200 threads each

Re: Load balancing in Camel

2009-03-03 Thread Claus Ibsen
On Tue, Mar 3, 2009 at 8:55 AM, Nivetha Shri wrote: > Hi All > I want to know how we can combine dynamic routing and load balancing. > > For dynamic routing am using @RecipientList annotation as follows > > public class RoutingComponent{ >   �...@recipientlist >    publ

Load balancing in Camel

2009-03-02 Thread Nivetha Shri
Hi All I want to know how we can combine dynamic routing and load balancing. For dynamic routing am using @RecipientList annotation as follows public class RoutingComponent{ @RecipientList public String[] route(String Body) { String output = "activemq1:topic:topic.outbound";