Re: Logging XSLT

2011-09-20 Thread boday
see the http://camel.apache.org/xslt.html camel-xslt component and this https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/component/xslt/XsltRouteTest.java unit test for an example of doing the XSLT... not sure what you what you are trying to do with the pr

Re: SMPP Bind timeout

2011-09-20 Thread Christian Müller
It's better to ask the Huawei guys... ;-) Sent from a mobile device

Re: SMPP Bind timeout

2011-09-20 Thread Ioannis Canellos
Some SMSCs will not response and at all, if they do not like the parameters of the command you send them. If I were you I would do two things: a) Get a tcpdump and compare the two bind commands, to determine what's different. b) Ask the Alcatel guys, to determine which parameter you sent does not

Re: why camel can't use log4j.xml

2011-09-20 Thread Tim
It can. What version of camel you are using will determine how to use log4j with it. If you are using version 2.7 and above then it uses slf4j by default which means that you need to add a dependency to logback or other similar slf4j plugins that allow you to use log4j configuration files. Previous

RE: NMR Thread Pool

2011-09-20 Thread Zhemzhitsky Sergey
Łukasz, I don't like to use JBI in favor of Camel. I think that consumer thread pool configuration by means of org.apache.servicemix.nmr.cfg will fit my needs. Best Regards, Sergey Zhemzhitsky -Original Message- From: Łukasz Dywicki [mailto:l...@code-house.org] Sent: Tuesday, Septemb

RE: Velocity Issue

2011-09-20 Thread Daniel Crompton
I solved it by removing the properties file, for some reason this was creating a conflict. Thanks, D. > -Original Message- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: Thursday, September 15, 2011 8:02 PM > To: users@camel.apache.org > Subject: Re: Velocity Issue > > If

Re: NMR Thread Pool

2011-09-20 Thread Łukasz Dywicki
Sergey, If you will use JBI component (in fact covered NMR with forced XML payload) you can specify service/endpoint name. Maybe this will let you to configure thread pool? Regards, Lukasz > Hi Łukasz, > > Thanks a lot. > > It seems that it is possible to configure nmr-consumer-specific thre

SMPP Bind timeout

2011-09-20 Thread Jan
Hi, I am trying to bind an endpoint to a Huawei SMSC. For some reason I am getting a bind timeout from servicemix. When I run a standalone jsmpp client it seems to bind fine. It must be some timer setting, but not sure where or what I should tell the Huawei guys to check for me. The error I get i

RE: NMR Thread Pool

2011-09-20 Thread Zhemzhitsky Sergey
Hi Łukasz, Thanks a lot. It seems that it is possible to configure nmr-consumer-specific thread pools by means of the org.apache.servicemix.nmr.cfg file. For example to configure thread pool for the consumer that consumes messages from MyEndpoint it is necessary to add the following settings

Re: Configuring multicasts broker

2011-09-20 Thread Jon Anstey
You need to pass a discovery broker URI to the ConnectionFactory: http://activemq.apache.org/discovery-transport-reference.html On Fri, Sep 16, 2011 at 9:06 AM, Muhammad Ichsan wrote: > I set up many ActiveMQ brokers using this: > > discoveryUri="multicast://default"/> > > How to configure Cam

Re: why my Processor throw Exception but producer can't throw it

2011-09-20 Thread xiangqiuzhao
camelContext.addRouteDefinition(someRouteDefinition); i look the camelContext and routeDefinition had exception handler, i has no set exception handler on these, what the default action when the route processor throws exception. and where i need to set exception handler? my route defined: Rou

Re: why my Processor throw Exception but producer can't throw it

2011-09-20 Thread Willem Jiang
On 9/20/11 12:23 PM, xiangqiuzhao wrote: Producer producer = endpoint.createProducer(); producer.process(exchange); //throw an Exception return (Map)exchange.getOut().getBody(); //why run to here? my route defined from("direct://test").process(ProcesssA).to("myComponent://").pro

why camel can't use log4j.xml

2011-09-20 Thread xiangqiuzhao
i use log4j.xml in my project classpath, content like:

Re: java.net.UnknownHostException: gmail.com

2011-09-20 Thread Claus Ibsen
It seems like your computer do not have access to the google mail server. Make sure the host name is correct according to either imap or smtp. See for example this FAQ https://mail.google.com/support/bin/answer.py?answer=77659 On Tue, Sep 20, 2011 at 12:49 PM, yogeshks1990 wrote: > When I try

java.net.UnknownHostException: gmail.com

2011-09-20 Thread yogeshks1990
When I try to create a camel route which should send a mail with attachment from my mail account to other, using the example provided in http://camel.apache.org/mail.html and after resolving all dependencies I hit the error java.net.UnknownHostException: gmail.com stacktrace: org.springframework

Re: why my Processor throw Exception but producer can't throw it

2011-09-20 Thread Claus Ibsen
Hi Can you be a bit more precise what the problem is? Its not totally clear from the code snippets and your description. And what version of Camel are you using? On Tue, Sep 20, 2011 at 6:23 AM, xiangqiuzhao wrote: > Producer producer = endpoint.createProducer(); > producer.process(exchange); /