On Fri, Jun 22, 2012 at 6:33 AM, Sergey Zhemzhitsky szh.s...@gmail.com wrote:
Hello, guys,
I agree that if the camel-core could be enhanced to achieve easy cross-context
communication in the single JVM it would be fine.
Claus committed the direct-vm component recently which is part of 2.10:
Hi Claus,
Thanks for the quick reply.
Please find below the complete log from the point the consumer poll is
started till it is completed:
2012-06-22 12:11:20,178 | TRACE | .CustomerAccount | ScheduledPollConsumer
| 84 - org.apache.camel.camel-core - 2.9.2 | Scheduled task started
Hi
I assume you want JMX at runtime, as else you can disable it on Camel.
For what is worth it, you can plugin a custom JMX management agent in Camel
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/ManagementAgent.html
In case you need to do some extra leg-work to
Hi
I had some funny problems when getting exchanges from a consumer template,
the attached code snippet illustrates a minimal example that demonstrates
the problem. My findings are:
When getting a batch of files (in my case via an sftp endpoint) doing a
consumerTemplate.doneUoW(e) afterwards
Hi
There is a camel-saxon feature you can install, if using Camel and xslt.
And I think you can see a JVM system property to tell it which xslt
factory to use.
So maybe that can enforce the saxon on a JVM wide level.
On Thu, Jun 21, 2012 at 7:45 PM, weather99 fflei...@harris.com wrote:
I forgot: The test code of course requires an sftp server and bunch of files
for it to work (fail)
--
View this message in context:
http://camel.465427.n5.nabble.com/consumerTemplate-threading-worries-when-having-a-Batch-Consumer-tp5714904p5714906.html
Sent from the Camel - Users mailing list
Are you sure the prolog ?xml version=1.0 encoding=UTF-8? indicates
that a XSLT 1.0 transform was done ? I always thought this one was the
prolog for the XML version, not for the transform applied...
In my case, all my xslt 2.0 transform generates xml version 1.0.
2012/6/21 weather99 [via
Hi
What Camel version are you using?
You are using a custom message converter in the to. Can you double
check that you get the AMQ_DELAYED_xx header included.
And if you enable DEBUG/TRACE logging for org.apache.camel.component.jms
(notice there can be a lot of logging)
But that may help you
On Fri, Jun 22, 2012 at 11:14 AM, Thibault thibault.cas...@gmail.com wrote:
Are you sure the prolog ?xml version=1.0 encoding=UTF-8? indicates
that a XSLT 1.0 transform was done ? I always thought this one was the
prolog for the XML version, not for the transform applied...
In my case, all my
The consumer template is intended for consuming a *single* message.
So in the case of the ftp endpoint, you should use the fileName option
to specify what file to consume.
For batch consuming then its better to use a Camel route for that.
On Fri, Jun 22, 2012 at 11:06 AM, ldam
Unfortunately we are not the masters of the filename given :/
The reason we use consumerTemplate is because we use it in an JCA adapter
and wants to be in control of the synchronization.
kr. ldam
--
View this message in context:
On Fri, Jun 22, 2012 at 11:53 AM, ldam lars...@gmail.com wrote:
Unfortunately we are not the masters of the filename given :/
The reason we use consumerTemplate is because we use it in an JCA adapter
and wants to be in control of the synchronization.
You can use maxMessagesPerPoll=1 to only
Hi
You run this in OSGi Blueprint.
Just to be sure, have you got this running outside osgi in lets say a
regular junit test case or something.
This helps track down knowing its related to your runtime platform.
On Fri, Jun 22, 2012 at 8:56 AM, Sriraman Gopalan sreeraa...@gmail.com wrote:
Hi
Hi
I found that out, which led me to the reasons for the problem above.
Will go for that, though it would be nice for consumerTemplate to support
batch in the future (in case one forgets that option in a new
configuration).
Thanks.
kr. ldam
--
View this message in context:
On Thu, Jun 21, 2012 at 8:10 PM, valivets samira.valiv...@barclays.com wrote:
Hi all..
I am using camel jdbc component to run a query and get a resultset. I need
the column names in a separate list. Currently I am fetching the column
names manually from the list of maps returned. Is there a
Hi all,
I am re-factoring a component which makes use of Camel (just moved to camel
2.9.2),
a part of the route is currently built as:
.recipientList(header(recipientListHeader).tokenize(,))
.parallelProcessing().timeout(aggregationTimeout)
.executorService(customThreadPoolExecutor)
Facing same issue. :(
For now, I just registered separate QuartzComponent for persistent quartz
timers.
Fortunately my CronScheduledRoutePolicy does not teed to be stateful, so in
my case it just use default QuartzComponent (with id=quartz) and so does
not cause failures during app startup.
On Fri, Jun 22, 2012 at 12:31 PM, Marco Crivellaro
marco.cr...@gmail.com wrote:
Hi all,
I am re-factoring a component which makes use of Camel (just moved to camel
2.9.2),
a part of the route is currently built as:
.recipientList(header(recipientListHeader).tokenize(,))
Is there a chance dinamic timeout can be added in a future version?
I suppose it can be done provided the fact it is avaliable in aggregation.
Is there a way to make use of completionTimeout of the aggregation strategy?
--
View this message in context:
Hi Claus. Thanks so much for the reply. I was afraid that might cause some
confusion.
I'm saying that an xslt 1.0 transfrom was done because all I got in the
translated file was the prolog and nothing else, not because the xml version
was 1.0.
The second example, where I just use a
feel free to log a JIRA and work on a patch
Jira ticket [1] for the issue created. @Valivets, do you want to work
on this or should I implement the patch?
[1] https://issues.apache.org/jira/browse/CAMEL-5383
--
Henryk Konsek
http://henryk-konsek.blogspot.com
Hi Claus,
Thanks for the suggestion. I don't have a test case offhand which I can
share with you right away. I will work on this and will share the same once
it is ready.
best regards
Sriraman.
--
View this message in context:
I need to process a text file (.txt). So @CsvRecord works for both .txt and
.csv files ?
Whenever you talk about processing CSV file and don't mention Stream
[1] component, a unicorn dies. :)
CsvDataFormat csv = new CsvDataFormat();
csv.setDelimiter(|);
// Record represented as ListString goes
Hi all,
I am using camel-smpp (http://camel.apache.org/smpp.html) component for
connecting with smsc and have issue with data_coding parameter of smpp
specification.
Using parameter alphabet=8 sets data_coding=25. With parameter
encoding=UTF-16 it makes correct encoding for cyrillic
I ended up doing
.split().method(splitterBean, splitWithParents).aggregationStrategy(new
UseLatestAggregationStrategy())
where my splitterBean solves 1) as mentioned in the original post and the
use of UseLatestAggregationStrategy solves 2) as mentioned in the original
post. I have no idea why
On Fri, Jun 22, 2012 at 4:10 PM, PJ Walstroem walst...@hotmail.com wrote:
I ended up doing
.split().method(splitterBean, splitWithParents).aggregationStrategy(new
UseLatestAggregationStrategy())
where my splitterBean solves 1) as mentioned in the original post and the
use of
Hi
The problem you're facing is pretty obvious: Looking at your persistence.xml
you do ask for a Container managed global transaction, as you have defined
the transaction type to be JTA, as well you've defined a
JTA-enabled-Datasource for it. BUT you make use of spring
JpaTransactionManager which
Hi
I am using camel jdbc component to run a query and get a resultset. I need
the column names in a separate list. Currently I am fetching the column
names manually from the list of maps returned. Is there a better way to do
this? Is there a way to get the metadata separately?
--
View this
Hi
Please don't ask the same question more than once using different login-Ids:
http://camel.465427.n5.nabble.com/Fetching-metadata-from-Camel-JDBC-Component-td5714880.html
As you see by the thread above Henryk has already opened a JIRA ticket for
you and is kindly asking you if you would like
Thanks again, it worked like a charm.
--
View this message in context:
http://camel.465427.n5.nabble.com/Stopping-long-redelivery-on-Camel-shutdown-tp5714773p5714936.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
FEFF - are the BOM(http://en.wikipedia.org/wiki/Byte_order_mark) bytes that are
used to identify bytes order for
UTF-16 encoding.
1. How to set 'data_coding' manually without usign 'alphabet' parameter?
As far as I know component does not support such an option at the time.
2. How to
Hi,
I am trying to aggregate in the following manner:
camel:route
camel:from uri=direct:start/
camel:aggregate strategyRef=aggregatorStrategy
camel:correlationExpression
camel:xpath/order/id/camel:xpath
/camel:correlationExpression
/camel:aggregate
Hello Guillaume,
I suppose static method to retrieve consumers that can be filtered by a custom
expression will be quite enough.
Regards,
Sergey
On Fri, Jun 22, 2012 at 6:33 AM, Sergey Zhemzhitsky szh.s...@gmail.com
wrote:
Hello, guys,
I agree that if the camel-core could be enhanced to
Have a look at [1]. You have to define when Camel should complete the
aggregation (e.g. after 10 messages arrived, after 10 minutes, after ...).
[1] http://camel.apache.org/aggregator2.html
Best,
Christian
On Fri, Jun 22, 2012 at 10:41 PM, Deepthi deepthi...@gmail.com wrote:
Hi,
I am trying
;-)
Wish you a nice weekend,
Christian
35 matches
Mail list logo