i get an error body is empty and [Fatal Error] :1:1: Premature end of
> file
>
> I don't understand what wrong i am doing here.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balancer-tp5719841p5720013.html
&g
ors().get(0));
}
But i get an error body is empty and [Fatal Error] :1:1: Premature end of
file
I don't understand what wrong i am doing here.
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balancer-tp5719841p5720013.html
Sent from the Camel - Users mailing list archive at Nabble.com.
n i test the same xpath expression using Xapth java API,
> i get the serviceGroup id.
>
If is unique in the XML, then you can just do a simple
String search and grab the text between the start and end tags
Though its a bit of a hack.
> Any help would be really useful.
>
me an error saying invalid xpath
expression. But when i test the same xpath expression using Xapth java API,
i get the serviceGroup id.
Any help would be really useful.
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balancer-tp5719841p571.html
Sent from the Camel - Users mailing list archive at Nabble.com.
map.put(id , getProcessors());
> }
>
>
> target.process(exchange);
> }
>
> Is the logic correct? Because I am still not able to figure out things and
> joining the dots. I would really appreciate if you could
e dots. I would really appreciate if you could tell me if the
logic is correct.
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balancer-tp5719841p5719943.html
Sent from the Camel - Users mailing list archive at Nabble.com.
XPath is an API there is in the JDK. So you can google
for xpath examples and use plain API from the JDK if you want.
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balancer-tp5719841p5719930.html
> Sent from the Camel
Hi claus,
How would i perform xpath evaluation in
exchange.getOut().getHeader("ServiceGroupID", String.class);
I did not find any example where xpath is evaluated in the getheader()
function.
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-a-custom-
cause
> getHeader() function does not accept String as input argument.
>
> I am still struck here.
>
> Please, i would appreciate any help.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balancer-tp5719841
GroupId/text()), 10)
And it is not performing the xpath evaluation.
And I am not able to initialize the term expression as string because
getHeader() function does not accept String as input argument.
I am still struck here.
Please, i would appreciate any help.
--
View this message in contex
}
> }
>
> And my main is something like this :
>
> from(uri).loadBalance(new MyCustomLoadBalancer()).to(BE1,BE2);
>
> where URI, BE1 and BE2 are the URLs.
>
> Am I doing something wrong in my custom load balancer method?
> I would be glad if you could help
ncer()).to(BE1,BE2);
where URI, BE1 and BE2 are the URLs.
Am I doing something wrong in my custom load balancer method?
I would be glad if you could help me or point out the mistake, I have done.
I have been struggling on this project for a while now.
--
View this message in context:
htt
s()
>
> }
> }
>
> Now the problem is how can I call the hashmap object in my choose procesor
> method? I cannot extend my choose processor method.
>
> I am struck in the if part of the choose processor.
>
> Could you please assist me in this?
>
>
>
> --
&g
struck in the if part of the choose processor.
Could you please assist me in this?
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balancer-tp5719841p5719857.html
Sent from the Camel - Users mailing list archive at Nabble.com.
the first request?
>
You cannot. You would always need to try to get the session id. If its
null then its initial call.
If its != null then its 2nd+ call.
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balancer-tp571984
.nabble.com/Using-a-custom-based-load-balancer-tp5719841p5719848.html
Sent from the Camel - Users mailing list archive at Nabble.com.
d, how would my process
> method look like?
>
> I would really appreciate if anyone could give me an outline "On how to join
> the dots in camel".
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balanc
ook like?
I would really appreciate if anyone could give me an outline "On how to join
the dots in camel".
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-a-custom-based-load-balancer-tp5719841.html
Sent from the Camel - Users mailing list archive at Nabble.com.
18 matches
Mail list logo