hi,
how can I set a header with a value from a properties-file using
spring-xml?
Doing this with the const-tag is no problem, but then the value has to be
directly written in the camel.xml:
setHeader
constfoobar/const
/setHeader
I like to use something like this:
environment.properties:
Thanks for suggest, I send a part of my conf.
with this configuration I'll start transaction reading message from
queue it self
bean id=activemq
class=org.apache.activemq.camel.component.ActiveMQComponent
property name=connectionFactory
osgi:reference
Does this solve your needs: http://camel.apache.org/constant.html
from uri=seda:a/
setHeader headerName=theKey
constanttheValue/constant
/setHeader
Best,
Christian
On Wed, Jan 18, 2012 at 10:34 AM, Christoph Burmeister
chburmeis...@googlemail.com wrote:
hi,
how can I set a header with a
My guess is that something like this should work:
setHeader headerName=myHeader
simple${properties:key}/simple
/setHeader
Bilgin
On 18 January 2012 09:34, Christoph Burmeister
chburmeis...@googlemail.com wrote:
hi,
how can I set a header with a value from a
Hi,
@Christian: That would mean, I have to hold the value for the header in my
camel.xml and that's not what I need. I need it in a separate file :-/
Thank's anyway.
@Bilgin: That's the way it works :-) Thank you.
For others: you need to define a propertyPlaceholder in the context to use
Hello
After some adjustments to make the code shareable, I just pushed the
camel-hibersap component to GitHub.
You can find it at https://github.com/bjoben/camel-hibersap
I realized that the actual camel part of it is very small and does not
include transaction or proper thread pool support yet.
You can use a direct endpoint to create a client to send messages. Just
ignore the types of messaging I'm sending.
// here's my Spring config
camelContext id=myCamel xmlns=http://camel.apache.org/schema/spring;
route
!-- here we route from or mina endpoint we have defined above
On Wed, Jan 11, 2012 at 6:06 PM, Hampel, Michael
michael.ham...@atos.net wrote:
hello,
can someone pls tell me the reason(s) why the Netty Consumer is not using an
AsyncProcessor when receiving a
message?
Yeah I guess in a InOnly mode on the Netty Consumer we can safely use
the async
Hi Billy
Charles Moulliard is working on a camel-cdi component. So I guess the
questions to make the bean and beanRef more modern to the worlds of
OSGi and CDI could make sense.
Either we could do
1)
Ensure all lookups is done only from beanRef (to refer to something
that is being looked up).
Hi
Thanks for the patch.
A possible issue is that the JMSMessageID is only available when the
JMS Client have really sent the message, and some clients can be in an
async mode, where they may take a little while before sending. So in
that case I would assume Camel will have to wait for that to
Hi
You only use the unmarshal in the route, so only the unmarshal
method is invoked.
On Tue, Jan 17, 2012 at 8:38 PM, david_good david_g...@pharmcomp.com wrote:
I have written an DataFormat class to deal with a proprietary message format.
It seems to unmarshal the message just fine but it
Hi
On Wed, Jan 18, 2012 at 12:03 AM, anand sridhar anand.for...@gmail.com wrote:
I was hoping the community could help me understand the exact meaning of
'Exchange ending' as mentioned in Camel Docs about
DefaultErrorHandlerhttp://camel.apache.org/defaulterrorhandler.html
The error handling
Hi,
I am new to camel and Jboss, as the camel 2.8 has built in support for
jboss, I directly deployed camel spring based web app. I am getting the
below exception:
Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load
type converters because of: Cannot find any type converter
Hi,
The problem is that apparently ActiveMQ seems to make use of the package
scan feature of Camel (inside META-INF/org/apache/camel/TypeConverter)
instead of specifying the FQN [1]. So it seems to me you've got no other
choice other than using JBossPackageScanClassResolver given by [2].
As an
So just add the following repository to your pom:
repository
idcamel-extra-release/id
nameCamel Extra Maven repository of releases/name
urlhttp://svn.codespot.com/a/apache-extras.org/camel-extra/maven2/releases/url
/repository
To make use of the jar artifacts at:
Tried adding:
and it still didn't marshal it...
--
View this message in context:
http://camel.465427.n5.nabble.com/unmarshalling-but-not-marshalling-tp5152663p5155847.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I have the same problem. I send a message and I expect several ASYNC replies.
Unfortunately I get only ONE reply using either an activemq client with
camel and a java stomp client.
--
View this message in context:
Hi again,
Apache Camel team has already taken care for the ticket [1] I asked you for
to open (by my first post) by ActiveMQ JIRA. However this doesn't solve your
current problem.
[1] https://issues.apache.org/jira/browse/AMQ-3458
Babak
--
View this message in context:
You will only get one reply if you're using the camel-mina component. The
camel-mina2 component will handle multiple replies. It is not complete yet.
Regards,
Chad
Sent from my iPhone
On Jan 18, 2012, at 3:39 PM, mgiammarco mgiamma...@gmail.com wrote:
I have the same problem. I send a
I think we need to take a look at your data format code.
--
View this message in context:
http://camel.465427.n5.nabble.com/unmarshalling-but-not-marshalling-tp5152663p5156527.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I was successful integrating CXF2.4.1-Camel2.8.0, however when I moved to the
newer version of CXF2.5.1 and Camel 2.9.0, I see issues related to
CamelTransportFactory. UnsupportedClassVersionError. These dependency jars
work with older version. Am i missing any?
Dependency Jars included in my
Hi
You got both some CXF 2.4 and 2.5 files on the classpath.
And it seems like a JDK 5 and 6 issues as well. Make sure you run on JDK6.
On Thu, Jan 19, 2012 at 4:08 AM, sram sra...@hotmail.com wrote:
I was successful integrating CXF2.4.1-Camel2.8.0, however when I moved to the
newer version
22 matches
Mail list logo