Anyone have any ideas?
--
View this message in context:
http://camel.465427.n5.nabble.com/Dynamic-xsl-with-custom-uri-resolver-tp5736668p5736670.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello colleagues
I have a simple route
camel:camelContext id=upstream-entries
camel:route
camel:from
uri=execMqOet:PWJMQM.GOM.GOMJULINT.DEV2?disableReplyTo=true/
camel:onCompletion
camel:to direct:separate_tx_route /
camel:log
Just add the new methods to the registry implementation and it works
in both 2.10 and 2.11.
On Fri, Aug 2, 2013 at 4:19 AM, liugang594 Liu clevers...@gmail.com wrote:
Hi :
I saw the interface org.apache.camel.spi.Registry has significant changes
from 2.10.* to 2.11.* ,
which lead us some
Say I would like to exploit Camel as a client to a RESTful web service. But
not sure Camel is good enough for such kind of job. I also want to use http4
or ahc component, not cxf.
In general I need only two kinds of routes:
- from Bean - marshall to Json - to Ahc with static URI - unmarshall
if no source code, seems not way to make it work on new version. :(
2013/8/2 Claus Ibsen claus.ib...@gmail.com
Just add the new methods to the registry implementation and it works
in both 2.10 and 2.11.
On Fri, Aug 2, 2013 at 4:19 AM, liugang594 Liu clevers...@gmail.com
wrote:
Hi :
The CSS which is loaded is defined in your HTML. If you're going to use a
parameter to fetch the HTML, you're going to have to dynamically rewrite
that HTML to point to the correct CSS.
Whether you use a handler to rewrite where to get the CSS file, or whether
it shoves all the CSS into the HTML
Streaming is a good idea to use if you do not need to know the total
size in advance. As with streaming the splitting is done in an
iterated fashion, where as non streaming the iteration is done on a
list (eg to know the total size)
On Thu, Aug 1, 2013 at 5:23 PM, jasonor a444...@fmr.com wrote:
Hi
Try Camel 2.12 which has a new networkInterface option where you can
specify the interface to bind to.
A SNAPSHOT of 2.12 can be downloaded
http://camel.apache.org/download
On Fri, Aug 2, 2013 at 12:29 AM, Satoyuki Tsukano tkns...@gmail.com wrote:
Hi,
I have a problem.
I use Camel-Netty
The JMX stats is per Exchange in the processor nodes.
There is JMX stats per route as well which would then be per route
And likewise a JMX stats for the entire CamelContext.
So you have 3 different levels of stats.
So in your aggregate route, you will have stats for all incoming
exchanges into
Hi
The correlation expression in your aggregator is wrong. You use body()
which is likely not what you want.
If you just want to put all in the same group then use a constant
instead, eg constant(true) or something.
I suggest to read about the aggregate EIP again. And if you have a
copy of Camel
Then use something else like a cache component. Or use a bean /
processor to store the data you want. And to get the data again when
you need.
Its a bit like the claim check EIP but across different exchanges.
On Thu, Aug 1, 2013 at 5:39 PM, javamonkey79 javamonke...@gmail.com wrote:
The
Hi
You cannot do this using onCompletion. For 2 different TX in the same
unit of work, you can use the propagation behaviors with REQUIRES_NEW
to start a new TX for the 2nd part.
This use-case is covered in Camel in Action book from page 305 onwards.
On Thu, Aug 1, 2013 at 11:59 PM, dsemenov
Claus,
I just figured it out a few minutes ago and was about to answer :)
... I confirm my correlation expression was wrong. A night of routing lead
me to the solution.
What confused me what that without a filter, it worked well : because all
bodies where the same (ie a default xml content with
You have a component that implements an internal camel interface, but you don't
have the source code for it? In that case for an update you need to make the
person who does have the source code make these changes (otherwise you will be
locked in to Camel 2.10 forever)...
-Original
Hi All,
I am using Camel 2.11.2 with a spring context.
In my route I am calling a bean method passing 2 wildcard params and a
string.
for example:
to uri=bean:theHeaderUtil?method=SetMissingHeaderToZero(*, 'XHeader1') /
method signature is:
SetMissingHeaderToZero(Exchange exchange, String
You can use an adapter for the new version if you have the source
code, and adapt from the old api to the new api.
On Fri, Aug 2, 2013 at 10:53 AM, Siano, Stephan stephan.si...@sap.com wrote:
You have a component that implements an internal camel interface, but you
don't have the source code
Can you try with SNAPSHOT code. I think its fixed on master, and
possible also on the 2.11 branch.
On Fri, Aug 2, 2013 at 11:10 AM, Marco Crivellaro marco.cr...@gmail.com wrote:
Hi All,
I am using Camel 2.11.2 with a spring context.
In my route I am calling a bean method passing 2 wildcard
OK, it's worth to try, thanks.
2013/8/2 Claus Ibsen claus.ib...@gmail.com
You can use an adapter for the new version if you have the source
code, and adapt from the old api to the new api.
On Fri, Aug 2, 2013 at 10:53 AM, Siano, Stephan stephan.si...@sap.com
wrote:
You have a component
The idea is that UserService#getUserById will call to the external
endpoint to actually get a user ?
If yes: JAX-RS can help there, it deals with replacing the template
variables pretty well, can be managed with the fluent API but also with
proxies. Example, you'd initialize a client with
Hi
Yeah this is a bug. I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-6604
On Thu, Aug 1, 2013 at 3:25 AM, ramrubio ramru...@yahoo.com wrote:
Attempting to implement a proxy service to route requests dynamically using
DynamicRouter pattern suggested by
hii thanx for the quick reply can u help me with the spring dsl for browse
component.
--
View this message in context:
http://camel.465427.n5.nabble.com/a-camel-based-solution-that-can-read-message-headers-without-de-queuing-a-message-from-the-MQ-tp5736556p5736700.html
Sent from the Camel
The idea is that UserService#getUserById will call to the external
endpoint to actually get a user ?
Yes, exactly.
If yes: JAX-RS can help there
Yeah, I agree, it will work fine. But I wonder if Camel is suitable for such
kind of tasks too? I can't find neither negative nor positive answer
Thank you Claus
That what we tried to do
But we need to see results of initial transaction in new one. however that
is not always the true, because new one may start before initial committed.
Thanks.
--
View this message in context:
I am having a similar issue and cannot get my xslt route to use my custom
uriResolver.
I put into the headers the location of a webservice that will return back
the xsl:
headers.put(templateLocation,
http://localhost:8080/path/to/stylesheet;);
then in my route try and do the following:
mox,
There is no CSS nor HTML involved.
The call to '.to(xslt:transformSubject.xsl?uriResolver=#emailResolver) '
does an xslt transformation. I'm trying to figure out how to make
'transformSubject.xsl' dynamic while still being able to use my custom
URIResolver.
Thanks!
--
View this
Seems to be a bug in Camel.
When constructing a route like:
from(...)
.log(pointA)
.doTry()
.process(...)
.log(pointB)
.doCatch()
.choice()
.when(...)
.
.otherwise()
.
.endChoice()
.end
.log(pointC)
during execution when no exception
Hi,
I'm new to Camel and currently trying to setup a soap call to a web service
as part of my learning process.
*Environment:* JDK 1.6, Camel 2.11.0
*Web service:* http://www.webservicex.net/stockquote.asmx
*WSDL:* http://www.webservicex.net/stockquote.asmx?WSDL
*Client stub classes* generated
27 matches
Mail list logo