Can you past the whole stack trace?
It hard to tell the error from your discription.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
I don't think Camel xpath[1] can provide the function that you want.
You can use a bean method [2] with @Xpath annotation to do that kind of job.
[1]http://camel.apache.org/xpath.html
[2]http://camel.apache.org/bean-language.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
W
Hello,
why do you incorporate
log4j.logger.org.springframework= ...
instead of
log4j.logger.my.injected.bean.namespace=...
?
Cheers
Hilde
--
View this message in context:
http://camel.465427.n5.nabble.com/Logging-level-for-Spring-framework-tp5721413p5721414.html
Sent from the Camel - User
Hi,
You can define the method of your bean like this
import org.apache.camel.language.XPath;
public void changeStatus(String value, @XPath("//Root/Key/text()") String key) {
…...
}
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.re
Hi, I have a situation where I have to do a choice with an xpath, and
depending on the content of an xml tag, I need to do different things.
Xml:
*user*
other
*admin*
Ie:
Hi!
I'm trying to catch an org.apache.camel.CamelExchangeException in my route
but i got ClassNotFound error.
I follow this guide http://camel.apache.org/try-catch-finally.html and I'm
using the same xsd and schema of this example
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.camel/
I may help you, as soon you share what kind of problem you are actually
having.
Thanks
*Bruno Borges*
(11) 99564-9058
*www.brunoborges.com*
On Sun, Oct 14, 2012 at 11:20 PM, rinotan wrote:
> I have been trying to implement Camel 12.1 with Weblogic 12C without
> success.
> The exact .ear file
There have to be some reeeally stupid mistake done by me.
I tried to create another "dummy" class, inject it similar as is the
problematic one and logging works for the dummy one.
Only the specific one is still silent.
Here is the logging configuration. Of course I tried to setup camel
rootLogger
Could you share the complete logging configuration.
Sent from a mobile device
Am 22.10.2012 21:03 schrieb "Martin Stiborský" :
> Hello,
> I have troubles with logging from a bean class that is injected to an
> another class.
> From the injected one, I can't see any log messages in the log file,
>
The log4j config you shared only tells us what log level you have
configured for org.springframework classes.
I assume your bean doesn't belong to that package.
So, what log level is the rootLogger at, what package does your bean class
belong to that doesn't log, how is your myCustomAppender confi
Hello,
I have troubles with logging from a bean class that is injected to an
another class.
>From the injected one, I can't see any log messages in the log file,
whereas from other classes (which are used in a route somehow with
beanRef for example) there the logging works without problems.
I was
On Mon, Oct 22, 2012 at 6:57 PM, swwyatt wrote:
> We normally use readLock=rename for both file and sftp components. In a
> deployment, we forgot to add the readLock option to an sftp route in a
> cluster environment; both servers pulled the file. I was thinking that there
> was a default, but may
We normally use readLock=rename for both file and sftp components. In a
deployment, we forgot to add the readLock option to an sftp route in a
cluster environment; both servers pulled the file. I was thinking that there
was a default, but maybe that is just for the file component.
So is readLock=c
Assuming I read your question correctly, the default file process
strategy will be a GenericFileNoOpProcessStrategy which does
not need a readLock (typically it won't be set). See [1].
Hadrian
[1]
https://svn.apache.org/repos/asf/camel/tags/camel-2.8.1/components/camel-ftp/src/main/java/org/a
On Mon, Oct 22, 2012 at 6:40 PM, swwyatt wrote:
> What is the default readLock for SFTP consumer on 2.8.1?
>
It has no default read lock.
You can use readLock=changed, which is the only read lock strategy
supported out of the box for the sftp in Camel 2.8.x
https://svn.apache.org/repos/asf/camel
What is the default readLock for SFTP consumer on 2.8.1?
--
View this message in context:
http://camel.465427.n5.nabble.com/SFTP-readLock-option-tp5721403.html
Sent from the Camel - Users mailing list archive at Nabble.com.
You can set a header with each of the details from the xml
message/location/text()
...
And then refer to these headers in the file uri
fileName=-${header.location}-${header.}
On Mon, Oct 22, 2012 at 4:26 PM, wcpolicarpio
wrote:
> Hi Willem,
>
> I am pretty new to Camel, can you please
Hello Pontus!
Thanks for your help and sorry for answering late.
Your suggestion to change from seda: to direct: made no differences. But we
figured out that
on Linux there are no troubles any more as prevously tested on a Windows
machine.
Cheers
Hilde
--
View this message in context:
http:/
We only have some unit tests on AMPQ :(
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
http://jnn.javaeye.com (http://jnn.javaeye.
Hi
The JMS component (consumer) has built-in concurrency. So use that instead.
Its the concurrentConsumers and maxConcurrentConsumers options
http://camel.apache.org/jms
And you may also take a look at the asyncConsumer option as well.
On Mon, Oct 22, 2012 at 1:23 PM, Hema T wrote:
> Hi,
>
>
is there no known issue for change mina adress in runtime??
--
View this message in context:
http://camel.465427.n5.nabble.com/Mina-Entpoint-Change-in-Runtime-tp5720728p5721386.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I have defined a route to take messages from activemq and do some processing
and send it to other end point. I have configured thread pool so that many
threads pick up messages from the activemq and process it in parallel. But
this is not happening.
>From the logs I could figure out that th
On Fri, Oct 19, 2012 at 10:50 AM, Oleg.Kasian wrote:
> It is actually in body, it is application/x-www-form-urlencoded. Seems like,
> when jetty component receives such request, it parses request body to
> exchange headers, passing them to endpoint. In this case, simple forwarding
> like this:
>
>
Hi,
I think you need to checkout the log file to see if there is any related error.
BTW, as camel 2.10 does not use the Spring 3.1.x out box, you may need to check
the class patch setting of you test.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.c
Hi
I added an test on trunk. And cannot reproduce the ordering issue. The
routes with the lowest startup order is started before the higher
values.
http://svn.apache.org/viewvc?rev=1400814&view=rev
On Mon, Oct 15, 2012 at 9:15 AM, Marco Westermann wrote:
> Hi,
>
> is there a bug with the star
Hi
Have you tried using the JUnit instead of TestNG? eg camel-test-spring.
On Wed, Oct 17, 2012 at 12:23 AM, jiunjiunma wrote:
> Hi,
> I am trying to use Spring 3.1's ActiveProfiles feature to start an
> embedded activemq in my test context. However, it doesn't seem the profile
> was chose
Thanks William,
Apart from QPID, Do we have any other routes to connect to RabbitMQ, . If
so, can you kindly share the configuration..
Regards
Jawahar
--
View this message in context:
http://camel.465427.n5.nabble.com/Failed-to-connect-using-Camel-RabbitMq-Configuration-tp5721351p5721366.html
27 matches
Mail list logo