Hi,
How to record time token after accessing a route or endpoint.
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-record-time-token-after-accessing-a-route-or-endpoint-tp5744292.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes, I did eventually figure that out, and when I did, the predicate
returns false due to the left-hand side being converted to a String before
the comparison takes place. Given that it's probably a bug, is it likely
fixed in a later version of Camel? I'll try to check it myself, probably in
a day
Thanks Willem
Of course it was quite simple in the end. Just do
org.apache.camel.component.cxf.CxfOperationException
${exception.statusCode} == 404
true
I was just focusing on getting the http status code from the header, when I
just could hav
On Wed, Dec 4, 2013 at 8:22 AM, Andrew Thorburn wrote:
> Apologies for the spam, but this should be the last post, and I
> believe there's a bug somewhere. According the documentation
> (http://camel.apache.org/simple.html), I should be able to do
> something like this:
>
> ${in.header.type} is 'j
The aggregator when it completes runs in another excange / thread that
is seperated from the input exchanges.
If you want to use a splitter like a fork/join then take a look at the
composed message processor eip
http://camel.apache.org/composed-message-processor.html
See the _splitter only_ secti
No you cannot do that with the bean component.
On Wed, Dec 4, 2013 at 8:07 AM, ssiegl wrote:
> Hello,
>
> ich habe a bean method like this
>
> void operation(String id, Class type)
>
> Is it possible - without a processor - to call this method with Camel:
>
> to("bean:myBean?method=operation('ab
Apologies for the spam, but this should be the last post, and I
believe there's a bug somewhere. According the documentation
(http://camel.apache.org/simple.html), I should be able to do
something like this:
${in.header.type} is 'java.lang.String'
And I will get back true or false. However, the f
Hi
Yeah take a look at the Camel Karaf features when you use OSGi, as
each of these Camel components shows which valid OSGi bundles to
use/install.
The features.xml file is in maven central for each release
http://central.maven.org/maven2/org/apache/camel/karaf/apache-camel/2.12.2/
On Wed, Dec 4
Hello,
ich habe a bean method like this
void operation(String id, Class type)
Is it possible - without a processor - to call this method with Camel:
to("bean:myBean?method=operation('abc',MyGenericClass)")
In the class MethodInfo i found this comment:
// it may be a parameter type instead, a
I should add here that I want to log the result, so I have something like:
But even with the following:
${headerAs(soap.header.globalRequestHeader,
com.test.GlobalRequestHeader).getRegion()}
I still get the raw XML instead of the value of the region property.
It basically seems that what I w
I've been having a bunch of trouble trying to do something that seems
like it should be really simple... Using Camel 2.10.7 on ServiceMix
4.5.2.
Basically, I'm sending a SOAP message, which contains a SOAP header
that looks like this:
?
?
?
Camel takes th
Okay problem solved myself... Picked the existing OSGi bundle for twitter4j
org.apache.servicemix.bundles
org.apache.servicemix.bundles.twitter4j
3.0.5_1
-Original Message-
From: Goyal, Arpit [mailto:arpit.go...@sap.com]
Sent: Wednesday, December 04, 2013 9:01 AM
To: users@camel
Hello Colleagues,
I have setup camel 2.11.2 on equinox OSGi runtime (along with camel-blueprint
bundle) and now I am trying to get the Camel-Twitter component running. As per
the component project, Camel Twitter depends upon two additional bundles which
aren't available on my runtime (twitter4j
Hi,
Can you try to use the last Camel version to verify the if the issue is still
there?
We upgraded the httpClient 4.x version several times.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitte
I have an issue using camel split with stax (2.12.1) where the
"StAXJAXBIteratorExpression" is not able to match the xml elements to the
jaxb provided class:
The route looks like this where splitClass is PricingProgramEnrollment
.split(stax(splitClass, false))
The jaxb class with annotations lo
The message header value could not be Serializable and camel cannot decide
which header need to be put into the cache, and if you put a map instance into
the message header it could make the things worse. I think you can take
advantage of the Camel TypeConverter[1] by apply your customer convert
You are not xslt component at all, you are using file component in all your
uris. Change the second endpoint to
to("xslt:...
Cheers,
On Tue, Dec 3, 2013 at 8:21 PM, madusanka wrote:
> Hi,
>
> My requirement is to transform an XML array using XSLT. But it gives the
> "GenericFileOperationFaile
Maybe you could put together a stand-alone unit test that shows this?
On Tue, Dec 3, 2013 at 1:04 PM, marcelcasado wrote:
> I have an issue when using camel split and camel aggregator together the
> messages continue down the route before all the messages from split has been
> completely processe
why does it work in a different way between authPassword on HTTP and password
on FTP endpoint parameters?
--
View this message in context:
http://camel.465427.n5.nabble.com/issue-with-ExchangeHelper-resolveEndpoint-when-using-RAW-parameter-on-authPassword-tp5744246p5744268.html
Sent from the Ca
What version of Camel are you using?
The exception is not caught by Camel's exception-handling facilities
because they only apply during the processing of the exchange. So
there are small windows where exceptions can handle on consumers (like
the JMS consumer) and these will be handled component s
I have an issue when using camel split and camel aggregator together the
messages continue down the route before all the messages from split has been
completely processed. In my route splited-agregated messages get into the
"finally" block when I was expecting that only one will get to the "finally
I have an issue using camel split with stax (2.12.1) where the
"StAXJAXBIteratorExpression" is not able to match the xml elements to the
jaxb provided class:
The route looks like this where splitClass is PricingProgramEnrollment
.split(stax(splitClass, false))
The jaxb class with annotations lo
Hi,
My requirement is to transform an XML array using XSLT. But it gives the
"GenericFileOperationFailedException: Cannot store file:
/home/madusanka/Desktop/example.xsl/hello.xml~". What could be the reason?
++ array +++
Hello,
This application connects to JMS and routes the message to a websocket
endpoint. Every 15th message or so, the following exception is raised:
Exception:
[Camel (TwitterApp1) thread #1 -
JmsConsumer[Event::WebM::Communication::Twitter::1.1::TweetReceived]]
EndpointMessageListener
See the javadoc at
http://camel.apache.org/maven/current/camel-core/apidocs/index.html
There is JMX Api in the api.management package.
You can see what JMX is available at runtime using jconsole or a web
console like hawtio
http://hawt.io/
>From java api you can get hold of CamelContext and acce
Thank you so much for the quick response, Claus! It works as advertised now!
--
View this message in context:
http://camel.465427.n5.nabble.com/problem-using-recipientList-NoSuchEndpointException-CachedOutputStream-WrappedInputStream-tp5744249p5744254.html
Sent from the Camel - Users mailing l
You have both receipient list in the route and also @RecipientList on
the bean. Only use one.
On Tue, Dec 3, 2013 at 6:10 PM, furchess123 wrote:
> Hi,
>
> I have been trying to use /*recipientList*/ to resolve dynamic target
> endpoints while using Camel as an HTTP proxy between a client and a se
This is expected and how RAW() currently works.
On Tue, Dec 3, 2013 at 5:47 PM, Marco Crivellaro wrote:
> Hi,
> I've just bumped into an issue with ExchangeHelper.resolveEndpoint when
> used on a URI which has authPassword parameter value using RAW() value
>
>
> ExchangeHelper.resolveEndpoint
Thanks alot for the reply.I am new to camel.can you tell me how to get
messages that are
currently in-flight on a route? what API I need to use to obtain the
information about the messages?
Thanks,
Sameer
--
View this message in context:
http://camel.465427.n5.nabble.com/Regarding-Thread-sta
Hi,
I have been trying to use /*recipientList*/ to resolve dynamic target
endpoints while using Camel as an HTTP proxy between a client and a server.
Everything works fine without /recipientList/ - if I do something like this:
@Override
public void configure() throws Exception {
from(
I have forgotten to mention I am using camel 2.12.1
--
View this message in context:
http://camel.465427.n5.nabble.com/issue-with-ExchangeHelper-resolveEndpoint-when-using-RAW-parameter-on-authPassword-tp5744246p5744247.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I've just bumped into an issue with ExchangeHelper.resolveEndpoint when
used on a URI which has authPassword parameter value using RAW() value
ExchangeHelper.resolveEndpoint(exch,
"http://host:80/script.php?httpClient.soTimeout=360&authMethod=Basic&authPassword=RAW(pass!)&authUsername=us
I don't think that the persistence configuration influences how the cache
component writes the exchanges into the cache.
When performing add or update operations, the
*org.apache.camel.component.cache.CacheProducer* class uses its
createElementFromBody() method which takes the in message body from
Hi,
Something like :
/SOAP-ENV:Envelope/SOAP-ENV:Body/barceloDS/response/queryOfferingResponse/offerings/offering/*
or
//offering/*
Should do th
requirement is i want to define splitter to split SOAP response and put into
ActiveMQ Queue. Please help me in that. Please correct me if i am wrong.. i
have tried some thing...
SOAP Response:
- http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
You do not set any message body after the quarts trigger which means
there is nothing to write in the file.
Try setting the body as empty / some text
from
.transform(constant("Hello World"))
.to file
On Tue, Dec 3, 2013 at 12:59 PM, trilochan237
wrote:
> Hi
> I have written a sample program whi
I have done like this :
Consult the hz documentation to setup your client config.
localhost:5701
localhost:5702
and then in the route you can do
Best,
Preben
--
View this message in context:
http:/
Hi
I have written a sample program which will trigger the messages for every 10
sec and the program is as follows.
The issue i am facing is i am not able to see any action from the program
when executed.
Code:
public class QuartzFileCopierWithCamel {
public static void main(String args[])
I was using CXF and the following did the trick.
--
View this message in context:
http://camel.465427.n5.nabble.com/Headers-CamelFileNameConsumed-and-CamelFileLength-in-Mail-tp5744231p5744236.html
Sent from the Camel - Users mailing list archive at Nabble.com.
You can rename any unwanted headers as shown here
http://camel.apache.org/how-to-remove-the-http-protocol-headers-in-the-camel-message.html
Or you can configure a custom header filter strategy on the mail
component / endpoints to filter what headers to include or not.
On Tue, Dec 3, 2013 at 11:49
Dear Community,
after creating a error report with velocity in , using some of
the camel exchange header values, and sending it as an HTML email it shows
the headers CamelFileNameConsumed and CamelFileLength on top of the mail
markup:
These are not represented in the .vm file in any way, so what
If you always need to poll the same file, then you can also do
timeout="1"/>
>
> Should it be problem (or feature) when using sendEmptyMessageWhenIdle=true
> on file endpoint?
>
> The server is always in high load and when I try to read data from file it`s
> possible that file system is no
Hello Claus,
I set timeout on poolEnrich but the error occured again.
Should it be problem (or feature) when using sendEmptyMessageWhenIdle=true
on file endpoint?
The server is always in high load and when I try to read data from file it`s
possible that file system is not responding immediately
For the transaction you need a TransactionManager. For example spring's
JmsTransactionManager.
The multicast component can be a real time saver, because it can process the
nested components in parallel threads. But it is the nature of transaction
managers to register themselves in a ThreadLocal, w
44 matches
Mail list logo