Steve,
The unfortunate part is there are a few different properties. The
propertyplaceholder is a global set of properties and is really how you
configure your bundle/jar from defaults and external properties. These are
different from the properties in the camel context and different from the
Exc
Yow - that works!
Thanks, Claus! I understand the IoC aspect of it now.
I still don't understand why getProperty("name") can't work when
resolvePropertyPlaceholders("{{name}}") will.
In my mind they should be going to the same set of name/value to look up 'name'
but they're not. Why is that?
T
That is because @PropertyInject is IoC injected by Camel or Spring
when you use it to setup the beans. But in your unit test you create
that class yourself with the new constructor, then its not dependency
injection for such things.
Instead use Camel to create it with
return context().getInjector
I'm only setting the property value with the Properties supplied by
useOverridePropertiesWithPropertiesComponent().
> -Original Message-
> From: souciance [mailto:souciance.eqdam.ras...@gmail.com]
> Sent: Wednesday, November 16, 2016 2:45 PM
> To: users@camel.apache.org
> Subject: Re: See
How do you mean it does not get the value? How do you set the property? In
blueprint? In spring xml or using the plain java via properties file?
On Wed, Nov 16, 2016 at 6:51 PM, shuston [via Camel] <
ml-node+s465427n5790193...@n5.nabble.com> wrote:
> Thank you for the responses thus far. I stil
Thank you for the responses thus far. I still have some confusion and an
observation.
First, I find it very confusing and non-intuitive that the "properties" in
CamelContext are apparently not the "properties" in property placeholder. From
my reading of the various doc pages it seemed like prop
There is plenty of JMX api to get all sort of information.
There is also an inflight registry you can find information about all
current exchanges being routed.
On Wed, Nov 16, 2016 at 3:25 PM, aljosap wrote:
> Is there a way to track how long route executes and if it takes to long to
> terminat
Hi
context().getProperty("dataFile");
is not property placeholders. Its just generic key/value pairs on
CamelContext. See the javadoc of the API.
For property placeholders take a look at
http://camel.apache.org/using-propertyplaceholder.html
On Tue, Nov 15, 2016 at 11:58 PM, Steve Huston wrote
Is there a way to track how long route executes and if it takes to long to
terminate it?
I have implementation of EventNotifierSupport but this only writes down
execution time.
--
View this message in context:
http://camel.465427.n5.nabble.com/Tracking-route-time-execution-tp5790186.html
Sent f
I tried @PropertyInject also, but I also have some confusion on where to set
the property values. If I set these routes up in spring boot I can get a
properties file pretty reliably, but with plain camel test support, not sure
how to make this happen.
> -Original Message-
> From: soucia
The ByteArrayDeserializer at the consumer worked!
Thank you!
-Original Message-
From: Willem Jiang [mailto:willem.ji...@gmail.com]
Sent: Tuesday, November 15, 2016 11:46 PM
To: users@camel.apache.org
Subject: Re: jms to kafka to jms
Hi,
I'm not sure if it relates to the deserializerCl
Ah!
Thank you! This worked.
-Original Message-
From: Tomohisa Igarashi [mailto:tm.igara...@gmail.com]
Sent: Wednesday, November 16, 2016 7:47 AM
To: users@camel.apache.org
Subject: Re: jms to kafka to jms
Hi,
I played with this one. So it looks you need to specify ByteArrayDeserializ
Hi,
I played with this one. So it looks you need to specify ByteArrayDeserializer
at kafka consumer side
https://github.com/igarashitm/issues/blob/master/camel/misc/src/test/java/CamelJmsKafkaBytesMessageTest.java
https://github.com/igarashitm/issues/blob/master/camel/misc/src/test/java/CamelJms
Hello,
You've to contact the JBoss Fuse support for problems with JBoss Fuse.
This is just the Apache Camel users mailing list.
--
Andrea Cosentino
--
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix Committer
Email: ancosen1...@yahoo.com
Twitter
Hi,
Camel-xmljson is not working and throwing error runtime when enable camel
tracing.
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
net.sf.json.JsonConfig
Jboss fuse 6.1.0
feature added - camel-xmljson
java version - 1.7.0_111
--
View this message in context:
If you just want to do json to json transformation there is also the camel
jolt component.
Best regards
Pontus
On Wed, 16 Nov 2016, 00:16 Kasun Indrasiri, wrote:
> What's the most efficient way to do type conversions from JSON to JSON.
> Does Camel use any internal canonical model while doing t
I am not sure you can get the property that away. From my understanding
using useOverridePropertiesWithPropertiesComponent is usually for when you
have properties set in a blueprint or spring bean and you want to override
them in your tests. You may want to inject test properties rather than the
no
You can use camel-jackson for this and use the jackson library for json
parsing and mapping.
On Wed, Nov 16, 2016 at 12:16 AM, Kasun Indrasiri [via Camel] <
ml-node+s465427n5790157...@n5.nabble.com> wrote:
> What's the most efficient way to do type conversions from JSON to JSON.
> Does Camel use
18 matches
Mail list logo