Re: Persistent imap connections?

2010-03-16 Thread Claus Ibsen
Hi Can you explain a bit more about this? I haven't heard about persistent imap connections before. Camel uses the Javax Mail API, so if it go support for that feature, then it may be possible to do. I recon you need to google a bit to find examples how to do this with Java Mail. Then we can see

Persistent imap connections?

2010-03-16 Thread aronb
Does camel mail support persistent imap connections? If so would you please post a code example. -- View this message in context: http://old.nabble.com/Persistent-imap-connections--tp27927989p27927989.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Is camel cxf failover is working ? It doesn't seem to work at all. Please confirm.

2010-03-16 Thread Claus Ibsen
Hi Please do NOT start a new thread on the same topic you already have started. And people have already replied and helped you on this matter. On Tue, Mar 16, 2010 at 9:32 PM, rdomingo wrote: > > It look like there is a huge bug in camel cxf failover, it doesn't seem to > work at all :( > > Is

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread Willem Jiang
I think the failover route could work when the first service is not started. Can you give it a try ? But your test case is special, the exception is thrown when the cxf client try to write a message to a closed connection (a tcp dump could show more detail information). So I think you may also a

Is camel cxf failover is working ? It doesn't seem to work at all. Please confirm.

2010-03-16 Thread rdomingo
It look like there is a huge bug in camel cxf failover, it doesn't seem to work at all :( Is there anybody who got it running ?? I just retested cxf failover using camel versions 2.0.0, 2.1.0 and even 1.6.2 (jdk1.5 and jdk6), but all resulting in same error: ... org.apache.cxf.interceptor.Fault

SV: Route stops executing/polling input folder after first "run"

2010-03-16 Thread Jimi Hullegård
OK, I found the answer... I guess I was a bit tired after a long day, and 1) didn't read the file component documentation thoroughly and 2) forgot to turn on debug logging. duh... The debug logging really helped me look in the right direction. I reused the same test files each time, and by defa

Route stops executing/polling input folder after first "run"

2010-03-16 Thread Jimi Hullegård
Hi, I'm just getting started with Camel, and I have a very basic question that hopefully someone here can answer. If I set up a simple test route, like this: then this route works just fine. If I copy a bunch of files to the in-folder, the gets moved to the out-folder, and it ca

Re: IndexOutOfBoundsException occur in UnsafeUriCharactersEncoder.class

2010-03-16 Thread ariablu
Thank you for your reply. I think ... camel-jdbc cannot rollback, becase connection is closed (and commit) in process method. -- Class:http://svn.apache.org/viewvc/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java?view=markup [line96]conn.close(

RE: XSL Character encoding issue

2010-03-16 Thread Joe Osowski
We're using Camel version 2.2.0 Here us the route in question: from(ARTICLE_INDEX_QUEUE) // if XSL transformation failed, don't retry. .onException(Exception.class) .handled(true) .maximumRedeliveries(0) .to("log:org.plos.camel.routes.SolrXslTran

Re: IndexOutOfBoundsException occur in UnsafeUriCharactersEncoder.class

2010-03-16 Thread Claus Ibsen
On Tue, Mar 16, 2010 at 3:59 PM, ariablu <962...@gmail.com> wrote: > > If set non-ascii character in any uri (example ), > IndexOutOfBoundsException occurs at > --- > Class: > http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/util/UnsafeUriCharactersEnco

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread rdomingo
I don't understand...do you thinkt it might go wrong on tcp level ? After debugging I found out it tries to failover to the second service, but during this attempt the Exception is thrown in the class HttpURLConnection: public void setFixedLengthStreamingMode (int contentLength) { if (c

Re: IndexOutOfBoundsException occur in UnsafeUriCharactersEncoder.class

2010-03-16 Thread Willem Jiang
Hi, Thanks for reporting this. I already fill a JIRA[1] for it. [1] https://issues.apache.org/activemq/browse/CAMEL-2554 Willem ariablu wrote: If set non-ascii character in any uri (example ), IndexOutOfBoundsException occurs at --- Class: http://svn.apache.org/viewvc/camel/trunk/ca

IndexOutOfBoundsException occur in UnsafeUriCharactersEncoder.class

2010-03-16 Thread ariablu
If set non-ascii character in any uri (example ), IndexOutOfBoundsException occurs at --- Class: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/util/UnsafeUriCharactersEncoder.java?view=markup [line 67] if (unsafeCharacters.get(bytes[i])) { -

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread Willem Jiang
I did some search on the CXF user list, but didn't find some useful information. Can you set up a tcpdump to catch the message to see what happened. Willem rdomingo wrote: Hi Willem, Thank you for responding. I moved the first service to a second tomcat on different port, but still get same

Re: The dreaded: Unable to locate Spring NamespaceHandler for XML schema

2010-03-16 Thread kostabanderas
Thanks for the reply. I did create the spring.schemas, spring.handlers files but I believe that the assembly plugin overwrites them. When I change the names of the files they appear regularly in the generated META-INF folder but when I name them properly, they get overwriten... I took a look at

Re: The dreaded: Unable to locate Spring NamespaceHandler for XML schema

2010-03-16 Thread Willem Jiang
Hi, You can take a look at this pom.xml[1]. If you go through the camel-spring-osgi module, you will find most of thing that you want to know. You need to create spring.schemas, spring.handlers file yourself, to includes the schemas and handlers those you wrap into a big jar. [1]https://svn

Re: How to use SNAPSHOTs.

2010-03-16 Thread Willem Jiang
You just need to add the dependency of the camel components into the pom.xml Willem ankelee wrote: Thanks, got it working now that I actually created a pom.xml :) There's no way to make Maven download all of camel? - I need to add a dependency for each .jar/component? Claus Ibsen-2 wrote:

Re: Quartz confusion

2010-03-16 Thread ankelee
Yeah it is working, I was fiddling around with some wrong uris. Thanks. Claus Ibsen-2 wrote: > > On Tue, Mar 16, 2010 at 1:08 PM, ankelee wrote: >> >> Hi Claus >> >> Did you fix this issue or? >> >> I'm working with the 2.3.0 snapshot and I have the same issue: >> >> from("quartz://report?cro

Re: The dreaded: Unable to locate Spring NamespaceHandler for XML schema

2010-03-16 Thread kostabanderas
Hi all, For my first post here, first of all, big respect to all developers working on Camel projects. I'm having the same problem but I can't seem to deal with it in the way described above. It is the same handler that is stated missing. I'm also using maven and assembly plugin. I checked the

Re: camel-jboss in Maven?

2010-03-16 Thread Claus Ibsen
On Tue, Mar 16, 2010 at 1:56 PM, pmmerritt wrote: > > I was trying to locate the camel-jboss plugin in the camel-extras maven > repository at > http://camel-extra.googlecode.com/svn/maven2/releases/org/apache/camel/extra/, > but didn't find it?  Can this be deployed, or should I plan on installing

camel-jboss in Maven?

2010-03-16 Thread pmmerritt
I was trying to locate the camel-jboss plugin in the camel-extras maven repository at http://camel-extra.googlecode.com/svn/maven2/releases/org/apache/camel/extra/, but didn't find it? Can this be deployed, or should I plan on installing it locally? Thanks! -- View this message in context: htt

Re: POJO Splitter - how to send multiple messages?

2010-03-16 Thread Willem Jiang
A small step camel route unit test can help us locate the issue. It's good to see you finally resolved the issue yourself. Willem Klug, Johannes wrote: I fixed it, sorry for the commotion. Turned out I cleared my message list too soon, so it didn't reach the next Camel hop. Cheers, J

Re: Quartz confusion

2010-03-16 Thread Claus Ibsen
On Tue, Mar 16, 2010 at 1:08 PM, ankelee wrote: > > Hi Claus > > Did you fix this issue or? > > I'm working with the 2.3.0 snapshot and I have the same issue: > > from("quartz://report?cron=0/10+*+*+*+*+?") > .pollEnrich("file://data/in?move=data/in/backup").etc... > > This ought to be working now

Re: Quartz confusion

2010-03-16 Thread ankelee
Hi Claus Did you fix this issue or? I'm working with the 2.3.0 snapshot and I have the same issue: from("quartz://report?cron=0/10+*+*+*+*+?") .pollEnrich("file://data/in?move=data/in/backup").etc... This ought to be working now right? The route completes in the first run, although ignoring th

Re: Request reply pattern with JMS and more replies to one request

2010-03-16 Thread zigo
Hi, the bean gtMessageProcessor is just a mock object to test the whole loop. My situation is the following: - I am exposing a CXF Web Service with an InOut MEP. - The CXF endpoint is part of a route that forwards the payload to a JMS queue using request reply EIP. - A third party system will rea

Re: How to use SNAPSHOTs.

2010-03-16 Thread ankelee
Thanks, got it working now that I actually created a pom.xml :) There's no way to make Maven download all of camel? - I need to add a dependency for each .jar/component? Claus Ibsen-2 wrote: > > On Tue, Mar 16, 2010 at 11:36 AM, ankelee wrote: >> >> Hi >> >> I want to use the 2.3.0 SNAPSHOT

Re: How to use SNAPSHOTs.

2010-03-16 Thread Willem Jiang
You may also need to add this SNAPSHOT repo into your pom.xml. apache.snapshot Apache Snapshot Repository http://repository.apache.org/content/groups/snapshots-group false true Willem Claus Ibsen wrote: On Tue,

Re: How to use SNAPSHOTs.

2010-03-16 Thread Claus Ibsen
On Tue, Mar 16, 2010 at 11:36 AM, ankelee wrote: > > Hi > > I want to use the 2.3.0 SNAPSHOT but I don't know much about Maven. How do I > download it? I tried getting Maven to download it using the > "apache-camel-2.3-SNAPSHOT.pom" but it asks for a goal. > > Any pointers? > Just change the vers

RE: POJO Splitter - how to send multiple messages?

2010-03-16 Thread Klug, Johannes
I fixed it, sorry for the commotion. Turned out I cleared my message list too soon, so it didn't reach the next Camel hop. Cheers, Johannes > -Original Message- > From: Klug, Johannes [mailto:johannes.k...@logica.com] > Sent: 16 March 2010 11:30 > To: users@camel.apache.org > Su

How to use SNAPSHOTs.

2010-03-16 Thread ankelee
Hi I want to use the 2.3.0 SNAPSHOT but I don't know much about Maven. How do I download it? I tried getting Maven to download it using the "apache-camel-2.3-SNAPSHOT.pom" but it asks for a goal. Any pointers? -- View this message in context: http://old.nabble.com/How-to-use-SNAPSHOTs.-tp27915

RE: POJO Splitter - how to send multiple messages?

2010-03-16 Thread Klug, Johannes
I wrote a very simple splitter test, and it behaves like expected - the returned List is sent to the endpoint. It's just in my more complex scenario where it doesn't act like it should. I'm debugging this now, hints are appreciated, though :) Cheers, Johannes > -Original Message- > From:

RE: POJO Splitter - how to send multiple messages?

2010-03-16 Thread Klug, Johannes
Hi Willem, Thanks for your reply. I'm using Camel v2.2.0. I implemented a Splitter that returns List, just like in your example. That list gets built properly, in my test it contains 26 messages. However, nothing reaches the endpoint. This is my route: ... processor = new ContainerProcessor();

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread rdomingo
Hi Willem, Thank you for responding. I moved the first service to a second tomcat on different port, but still get same Exceptions :( My new route: http://0.0.0.0:8081/fooServer/echo?wsdlURL=http://localhost:8082/fooServer1-0.0.1b-SNAPSHOT/echo?wsdl&serviceName={http://www.

Re: managed-service-factory but no callback on configuration changes

2010-03-16 Thread Bengt Rodehav
You're absolutely right - my fingers slipped. I sent it to the Felix users mailing list but maybe I should try Spring-DM as well. /Bengt 2010/3/16 Willem Jiang : > Hi, > > I think you may ask this question in Spring-DM, or Karaf mailing list. > As the question is out of scope of Camel :) > > Wil