Re: Status Web Console

2009-08-31 Thread Claus Ibsen
Hi You can find it in the central maven repo http://repo1.maven.org/maven2/org/apache/camel/camel-web/2.0.0/ There is a .war with all the .jars in WEB-INF/lib Or you can find it in the .zip file from Camel download http://camel.apache.org/download.html On Tue, Sep 1, 2009 at 8:41 AM, frapien w

Status Web Console

2009-08-31 Thread frapien
I wanted to use the web console, but cannot find the jar's under http://cwiki.apache.org/CAMEL/web-console.html Even in the Camel 2.o build the console is not included Unfortunately I can't build it from source because of inconsistent Maven Repos https://svn.apache.org/repos/asf/camel/trunk/compon

Re: camel mina using beanRef

2009-08-31 Thread Claus Ibsen
On Tue, Sep 1, 2009 at 7:53 AM, jamhit wrote: > > Thank you very much Claus! That helped. Even though bean expression does not > seem to be recognized by reciepientList in camel 1.6 DSL, I could make it > work  using header expression and have my pojo set the header. > I think its called methodCal

Re: camel mina using beanRef

2009-08-31 Thread jamhit
Thank you very much Claus! That helped. Even though bean expression does not seem to be recognized by reciepientList in camel 1.6 DSL, I could make it work using header expression and have my pojo set the header. Thanks again. Appreciate your help. Claus Ibsen-2 wrote: > > On Tue, Sep 1, 2009

Re: Occasional CamelNamespaceHandler exception when running with Spring-DM 1.2

2009-08-31 Thread Willem Jiang
Hi Allen After digging the code of the CamelNamespaceHandler, I found camel store the JAXB context Binder as a class number, it will cause the multi-thread issue. So I created a JIRA[1] for it , and will commit a quick fix later. Thanks for tracing the issue :) [1] https://issues.apache.org/

Re: camel mina using beanRef

2009-08-31 Thread Claus Ibsen
On Tue, Sep 1, 2009 at 6:48 AM, jamhit wrote: > > I am a camel newbie trying to use mina tcp to talk to a legacy system and get > response back. Since the host:port for the legacy system to talk varies with > each exchange,  I am using a beanRef with mina url and appropriate codec. I > can see that

camel mina using beanRef

2009-08-31 Thread jamhit
I am a camel newbie trying to use mina tcp to talk to a legacy system and get response back. Since the host:port for the legacy system to talk varies with each exchange, I am using a beanRef with mina url and appropriate codec. I can see that the response is properly decoded and written to protoc

Re: JMSExceptions from jms component?

2009-08-31 Thread Claus Ibsen
On Mon, Aug 31, 2009 at 10:56 PM, allen.lau wrote: > > > > Claus Ibsen-2 wrote: >> >> On Wed, Aug 19, 2009 at 7:57 PM, allen.lau wrote: >>> >>> Claus,  you are right, I had to set "alwaysSynSend=true" in >>> ActiveMQConnectionFactory to see the exception. >>> >>> Now it is a matter of figuring out

Re: JMSExceptions from jms component?

2009-08-31 Thread allen.lau
Claus Ibsen-2 wrote: > > On Wed, Aug 19, 2009 at 7:57 PM, allen.lau wrote: >> >> Claus,  you are right, I had to set "alwaysSynSend=true" in >> ActiveMQConnectionFactory to see the exception. >> >> Now it is a matter of figuring out whether I can only force it for >> certain >> queues. > > You

Re: Using JSP EL expression language in camel

2009-08-31 Thread erh
Claus Ibsen-2 wrote: > > Hi > > I have fixed the sample page and removed the replaceAll. > > oh, ok. I guess that'll be a little better. I figured out a bit more about being able to call methods. Apparently the "MethodExpression" in the unified EL is meant to be used by JSF to define a de

Re: JMSExceptions from jms component?

2009-08-31 Thread Claus Ibsen
On Wed, Aug 19, 2009 at 7:57 PM, allen.lau wrote: > > Claus,  you are right, I had to set "alwaysSynSend=true" in > ActiveMQConnectionFactory to see the exception. > > Now it is a matter of figuring out whether I can only force it for certain > queues. You can use 2 different queue connection fact

Re: Using JSP EL expression language in camel

2009-08-31 Thread Claus Ibsen
Hi I have fixed the sample page and removed the replaceAll. On Mon, Aug 31, 2009 at 9:18 PM, erh wrote: > > > Claus Ibsen-2 wrote: >> >> On Mon, Aug 31, 2009 at 8:28 PM, erh wrote: >>> >>> I'm trying to use the JSP EL according to the example listed on >>> http://camel.apache.org/el.html >>> I

Re: XML processing error

2009-08-31 Thread Max Ulanovskiy
You was right. Thanks a lot for help. -- View this message in context: http://www.nabble.com/XML-%3Ccamel%3AdoTry%3E-processing-error-tp25221443p25229044.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Using JSP EL expression language in camel

2009-08-31 Thread erh
Claus Ibsen-2 wrote: > > On Mon, Aug 31, 2009 at 8:28 PM, erh wrote: >> >> I'm trying to use the JSP EL according to the example listed on >> http://camel.apache.org/el.html >> It claims that you can call arbitrary functions with camel's version of >> the >> EL, with the example shown being: >>

Re: Spring Remoting with File Component - Hopefully someone has a quick answer :)

2009-08-31 Thread Claus Ibsen
On Thu, Aug 27, 2009 at 5:30 PM, James Chrystal wrote: > > I'm using Camel 1.6.1 - I want to use Spring remoting with the File > Component, however, I'm getting a NoTypeConversionAvailableException.  I'm > curious if it's possible to make this work. > > This works fine using JMS - the MyServiceInte

Re: Using JSP EL expression language in camel

2009-08-31 Thread Claus Ibsen
On Mon, Aug 31, 2009 at 8:28 PM, erh wrote: > > I'm trying to use the JSP EL according to the example listed on > http://camel.apache.org/el.html > It claims that you can call arbitrary functions with camel's version of the > EL, with the example shown being: >   ${in.body.replaceAll('id','orderId'

Using JSP EL expression language in camel

2009-08-31 Thread erh
I'm trying to use the JSP EL according to the example listed on http://camel.apache.org/el.html It claims that you can call arbitrary functions with camel's version of the EL, with the example shown being: ${in.body.replaceAll('id','orderId')} However, when I try to use something like that, I

Re: Camel threads deadlock

2009-08-31 Thread Stan Lewis
On Mon, Aug 31, 2009 at 12:34 PM, dampudia wrote: > > The version is 3.3, and the route works fine in my test suite (where all > endpoints apart from pipeline´s are mocked). The SEDA queue max size is 256, > but the problem is not here (when the error appears it is not full, just the > threads are

Re: Occasional CamelNamespaceHandler exception when running with Spring-DM 1.2

2009-08-31 Thread allen.lau
Hi Claus, Just checked the camel-jaxb code and from looking at the FallbackTypeConverter and JaxbConverter code, the unmarshaller and marshaller are always created for each operation. A helpful comment is also available in the code: // must create a new instance of unmarshaller as its not thred

Re: Camel threads deadlock

2009-08-31 Thread dampudia
The version is 3.3, and the route works fine in my test suite (where all endpoints apart from pipeline´s are mocked). The SEDA queue max size is 256, but the problem is not here (when the error appears it is not full, just the threads are locked and following messages get enqueued). And I cannot

Re: Camel threads deadlock

2009-08-31 Thread Stan Lewis
What version of servicemix are you running this in? Does the route work okay outside of servicemix (maybe replace the calls to your JBI services with some mock endpoint)? Have you checked how many elements are in the SEDA queue that the NMR is using, or have you perhaps tried switching from SedaF

Camel threads deadlock

2009-08-31 Thread dampudia
Hello: I am developing a process using camel routes (v. 1.4.0) inside servicemix, and, with some frequency, I found that all camel threads are waiting and my process is locked. The process flow is, more or less: - First I have a big message, with a list of elements that must be processed. - I u

Re: setting soap headers in camel cxf router

2009-08-31 Thread William Tam
Hi Trivedi, I'll try to get that today. On Fri, Aug 28, 2009 at 3:26 PM, trivedi kumar b wrote: > > Hi William, > > I am using Camel 1.x, can you provide me a sample how to set headers in > Exchange for POJO based CXF webservices? > > Thanks, > Trivedi > > William Tam wrote: >> >> Try it with 2.0

Re: http header strategy: transfer-encoding

2009-08-31 Thread William Tam
It sounds good to me. On Sun, Aug 30, 2009 at 3:13 AM, Claus Ibsen wrote: > On Fri, Aug 28, 2009 at 8:43 AM, Gert-Jan van de > Streek wrote: >> >> I would recommend adding "transfer-encoding" to the out filter in >> HttpHeaderStrategy. >> >> When for example "transfer-encoding: chunked" is acciden

Re: @ExchangeException not received by the bean component when called from onException()

2009-08-31 Thread Charles Moulliard
Additional think that I have discovered is that the onException process does not propagate information to the from endpoint (in my case : file component). So, when exception occurs, the bean component is called where record is created in an Audit table, error message is put in a reporting queue BUT

Re: camel routing - messages stay in queue

2009-08-31 Thread Markus Mueller
The polling consumer looks good. I'll try that. Why do I do that ? Because I have one queue with a lot of messages (IN_QUEUE). All these messages go to the same endpoint (the resultBean, it connects to a host system). This endpoint (resultBean) has a dynamic configuration (for various host system

@ExchangeException not received by the bean component when called from onException()

2009-08-31 Thread Charles Moulliard
Hi, I receive a NPE for the Exception in the log when I use the following route : com.xpectis.x3s.exception.X3SClientException // ProcessException BEAN public List> processException(@Exchange

Re: camel routing - messages stay in queue

2009-08-31 Thread Claus Ibsen
On Mon, Aug 31, 2009 at 3:00 PM, Markus Mueller wrote: > > Unfortunately, I can't see how to do it in the >    from A -> send to B >    from B -> send to C > way. > > My problem is, that the IN_BETWEEN_QUEUE is dynamic and depends on the > message. So my (a bit more more complex) configure looks li

Re: camel routing - messages stay in queue

2009-08-31 Thread Markus Mueller
Unfortunately, I can't see how to do it in the from A -> send to B from B -> send to C way. My problem is, that the IN_BETWEEN_QUEUE is dynamic and depends on the message. So my (a bit more more complex) configure looks like this : from("activemq:queue:IN_QUEUE").proce

Re: camel routing - messages stay in queue

2009-08-31 Thread Claus Ibsen
On Mon, Aug 31, 2009 at 2:15 PM, Markus Mueller wrote: > > I'm using camel 1.6 with servicemix 3.4. > > I've a simple route like this : > from("activemq:queue:IN_QUEUE").to("activemq:queue:IN_BETWEEN_QUEUE").to("bean:resultBean"); > > So if I send a message to my IN_QUEUE it's routed to my IN_BETWE

camel routing - messages stay in queue

2009-08-31 Thread Markus Mueller
I'm using camel 1.6 with servicemix 3.4. I've a simple route like this : from("activemq:queue:IN_QUEUE").to("activemq:queue:IN_BETWEEN_QUEUE").to("bean:resultBean"); So if I send a message to my IN_QUEUE it's routed to my IN_BETWEEN_QUEUE and also reaches my resultBean. That's what I excpected

Re: JPA component in a JEE5 environment: EntityManagerFactory from JNDI

2009-08-31 Thread Claus Ibsen
Hi That is the same s*** with the J2ee servers and the JNDI lookup. Its painful when it does not work and you need to setup all kind of indirections in various deployment descriptors both standard j2ee related and server specific. I will try googling and look at WebLogic documentation as its a pu

Re: XML processing error

2009-08-31 Thread Claus Ibsen
Hi Yeah you are using Camel 1.x schema "http://activemq.apache.org/camel/schema/spring":bean, doTry is part of Camel 2.0 which have a schema at: "http://camel.apache.org/schema/spring":bean, So you have to use the correct schema for the correct version of Camel you are using. On Mon, Aug

XML processing error

2009-08-31 Thread Max Ulanovskiy
in:header('from') = 'usern...@domain.ru' | in:header('subject') = 'some_subj'

Re: Dynamic header setting

2009-08-31 Thread Julien D
It's compiling that way finally .setHeader("subject").simple("Starting File processing ${header.CamelFileName}") Thanks Claus Julien D wrote: > > I tried this solution too but it does not compile for me. I'm using camel > 2.0-M3. > > > Claus Ibsen-2 wrote: >> >> On Mon, Aug 31, 2009 at 11:

Re: Dynamic header setting

2009-08-31 Thread Julien D
I tried this solution too but it does not compile for me. I'm using camel 2.0-M3. Claus Ibsen-2 wrote: > > On Mon, Aug 31, 2009 at 11:24 AM, Julien D wrote: >> >> Hi guys, >> >> Here's my situation. >> >> I'm processing a file and I'm sending an email to tell the user that the >> file is being

Re: Dynamic header setting

2009-08-31 Thread Claus Ibsen
And if you want access to a bit more information about the file you can use the "File language" which is an extension to the simple language. http://camel.apache.org/file-language.html It offers some other dynamic tokens you can use to get e.g. file length, date etc. On Mon, Aug 31, 2009 at 11:

Re: Dynamic header setting

2009-08-31 Thread Claus Ibsen
On Mon, Aug 31, 2009 at 11:24 AM, Julien D wrote: > > Hi guys, > > Here's my situation. > > I'm processing a file and I'm sending an email to tell the user that the > file is being processed. > I would like to put the file name in the subject of the email but I don't > know how to do that. > > The

Dynamic header setting

2009-08-31 Thread Julien D
Hi guys, Here's my situation. I'm processing a file and I'm sending an email to tell the user that the file is being processed. I would like to put the file name in the subject of the email but I don't know how to do that. The file name is in the header CamelFileName. Here's how I set the subj

JPA component in a JEE5 environment: EntityManagerFactory from JNDI

2009-08-31 Thread BAltmiks
- Camel 2.0M3 - Camel-JPA 2.0M3 - Weblogic 10 - Hibernate-Core 3.3.0.SP1 - Hibernate-EntityManager 3.4.0.GA - Configuration in Spring XML Hi, I tried to make use of the jpa component. But I have problems to get an EntityManagerFactory from JNDI on Weblogic 10. As described in the http://stati

Question concerning usage of onException with transacted routes

2009-08-31 Thread Charles Moulliard
Hi, I would like to know if onException can be used in combination with transacted routes Here is a example com.xpectis.x3s.exception.X3SClientException // DATA ARE INSERTED IN DB // DATA ARE SEND ALSO

Re: Garceful shutdown bug in 2.0M3?

2009-08-31 Thread dadoc
Claus Ibsen-2 wrote: > > Feel free to create a ticket in JIRA so we wont forget and try to get > it fixed / workaround in the next release. > I've created issue at http://issues.apache.org/activemq/browse/CAMEL-1963 http://issues.apache.org/activemq/browse/CAMEL-1963 Dado -- View this mess