On Thu, Jun 9, 2016 at 10:00 PM, rvdlinden wrote:
> Thanks for your reply. When i look into the source code of the
> org.apache.camel.component.mina2.Mina2Helper, from which this
> CamelExchangeException originates, i see that writeBody() includes the body
> to the Exception's message String. Mayb
Thanks for your reply. When i look into the source code of the
org.apache.camel.component.mina2.Mina2Helper, from which this
CamelExchangeException originates, i see that writeBody() includes the body
to the Exception's message String. Maybe i'm missing something, but I don't
see how a setting on t
The default store for in-flight messages is in memory. I am thinking that a
file system based store would protect against message loss when the route
shuts down(unexpectedly or scheduled). you are correct that the file system
needs to be resilient as well (SAN in this case)
--
View this messag
Hello,
I'm a newbie and I would like some advise or example on how to do this.
A scanner software save a pdf and a xml file in a directory.
I need to read the xml, get some properties, "metadata" from it, then load
the corresponding pdf into a document database using a web services (or a
java ap
Try converting the body to string after the streaming part.
Den 10 juni 2016 12:51 fm skrev "Mills, Gary (GE Digital) [via Camel]" <
ml-node+s465427n5783810...@n5.nabble.com>:
> Hello,
>
> Can you tell me why this isn't working and it's real strange.
> If I use the ${body} * I cannot use tokenize
Hello,
Can you tell me why this isn't working and it's real strange.
If I use the ${body} * I cannot use tokenize with it ( I don't
know if they work together or not ), it throws a schema impl exception.
But it produces a different result which is the same as the input file as if it
is not split
I suspect the problem is that the body of the message is consumed before it
reaches your stax processor. Specifically, without stream caching, the
following will consume the body if it is any form of InputStream:
.log("Content of the body in the main route: ${body}")
See http://camel.apache.org/s
Maybe I am seeing this wrong but how do these work?
.to("direct:multicastdemo")
from("direct:mainRoute")
The to URI does not match the main from URI
On Thu, Jun 9, 2016 at 10:18 AM, sonu123 [via Camel] <
ml-node+s465427n5783748...@n5.nabble.com> wrote:
> Hi,
> I have a route which accepts a po
Well, if your route is called every 5 minutes surely unless you specified
otherwise the consumer should consume all the messages available on the
queue and not just once. I am not a hardcore amq guy but there should be a
way to tell it to consume until no more queues available. Usually its a
header
I have a Spring DSL (camel 2.15) that does a multi-cast by executing a
"loop", and firing off other routes using SEDA with the
waitForTaskToComplete=never option.
There is an Exchange "property" in the exchange that is a DOM object.
I've found that in the sub-routes fired off by SEDA, the Exchange
Quartz will only help me call dequeue route every 5 minutes. But how will
quartz help me dequeue all the message, that are accumulated for past 5
minutes?.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-How-to-dequeue-all-messages-accumulated-every-X-minutes-tp57837
Hi,
I am trying to create a camel route having rabbitmq consumer inside a
transaction. I am using Spring boot and atomikos for tx management. Rabbit
MQ queue already has x-dead-letter-exchange and routing key set up.
How should I wrap my rabbitmq connection factory inside JTA tx manager ? I
trie
No, but you can look at the exchange in the debugger, it has a
property for message history with a list of all the nodes it has
passed, then you can look in there.
List list =
exchange.getProperty(Exchange.MESSAGE_HISTORY, List.class);
On Thu, Jun 9, 2016 at 2:20 PM, Kasim Sert (Ibtech-Software
I
Hi Claus,
Is there a way to do this without changing the route, for instance in eclipse
display window invoking some methods ?
I tried to print with expression below but not working.
org.apache.camel.builder.SimpleBuilder.simple("${messageHistory}").evaluate(org.apache.camel.builder.ExchangeBu
Hello,
We have a question about attachments & HTTP & Spring. May be anyone knows a
solution.
We're using the below camel configuration.
The direct:Test is called with XML message and some attachments.
The XML is transformed and than send trough HTTP (the HTTP should not
receive the attachments)
A
Hi,
I am trying to transform xml using XSLT in Camel. The dependency I have is
compile group: 'xalan', name: 'xalan', version: '2.7.2'
I am trying to perform this step in xslt
Am using this variable later in my xslt for further transformation
When I run my camel routes t
If you are using Camel 2.17 you can use simple language to get it, and
then log it easily
.log("${messageHistory}")
On Thu, Jun 9, 2016 at 10:55 AM, Kasim Sert (Ibtech-Software
Infrastructure) wrote:
> Hi,
>
> Is it possible to print Message history (which is printed in case of errors
> like
Hi,
Is it possible to print Message history (which is printed in case of errors
like below) during a route debug without error conditions. I just want to learn
how did I reach at that bean currently I am debugging. Is that possible ?
Message History
---
No sorry none of the work-arounds I tested seemed to work.
To be honest I've never used the TarSplitter myself in any project.
My initial answer was simply based on the class hierarchy of
TarElementInputStreamWrapper and expericne from the ZipFile component.
Any way for reference could you post a
Hi,
I have a route which accepts a post request in plain/text format in the REST
DSL, I want to forward it to another route where I intend to parse incoming
body (XML) using stax component. My route look like this.
restConfiguration()
.component("servlet")
.contextPath("Drools-Router/res
Waiting for the Jira, how could I work-around this issue ? Do you have any
suggestion ?
Many thanks in advance,
Nicolas DUMINIL
--
View this message in context:
http://camel.465427.n5.nabble.com/Trying-to-use-the-TarSplitter-tp5783658p5783749.html
Sent from the Camel - Users mailing list arch
21 matches
Mail list logo