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 g
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 resu
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 wrote:
> Despite installing servi
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 ar
Are you sure the prolog 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 Camel]
> Despite installing servicem
Hi
What Camel version are you using?
You are using a custom message converter in the . 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 too
On Fri, Jun 22, 2012 at 11:14 AM, Thibault wrote:
> Are you sure the prolog 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.
>
Yes
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 wrote:
> Hi
>
>
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:
http://camel.465427.n5.nabble.com/consumerTemplate-threading-worr
On Fri, Jun 22, 2012 at 11:53 AM, ldam 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 poll 1 file a
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 wrote:
> Hi Claus,
>
> Thanks fo
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:
http://camel.4654
On Thu, Jun 21, 2012 at 8:10 PM, valivets 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 better way to do
> this? Is
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)
.streaming
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
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(","))
> .parallelProcessing().timeout(a
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:
http://camel.465427.n5.nabble.com/recipien
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 bean,
> 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:
http://camel.465427.n5.nabble.com/Problem-with-Camel-Jpa-Component-a
>> 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 List 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 characters.
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 w
On Fri, Jun 22, 2012 at 4:10 PM, PJ Walstroem 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 UseLatestAggregationStrat
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 wh
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 messag
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 t
THe weird thing is that the JMX agent works fine on my JBoss 7.1.1 running
on Windows Vista 32bit, but it fails to load on my colleague's computer
where it has a Windows 7 64bit (even when I copied my whole jboss folder to
his machine).
*Bruno Borges*
(21) 7672-7099
*www.brunoborges.com*
On Fr
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 t
Hi,
I am trying to aggregate in the following manner:
/order/id
I am using camel 2.8.0.
The above route throws me an exception "Definition has no children on
Aggregate".
Where am I going wrong? Any help is appreciated.
Thanks,
Deepthi
--
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
> wrote:
>> Hello, guys,
>>
>> I agree that if the camel-core could be enhanced to achieve eas
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 wrote:
> Hi,
>
> I am trying to aggregate in t
;-)
Wish you a nice weekend,
Christian
34 matches
Mail list logo