activemq rollback

2011-03-10 Thread bigbear
Hi, My env: Camel: 2.6 ActiveMQ: 5.4.2 GlassFish: 2.2.1 I have the following route which gets a message from a topic and then stores it in the database after some processing. I added a dummy processor at the end which does nothing but throw a runtime exception in order to test the rollback of JTA

Re: Dropping support for Java1.5

2011-03-10 Thread Claus Ibsen
On Thu, Mar 10, 2011 at 9:19 PM, bfischer wrote: > Hi Hadrian, Claus and Willem, > > many thanks for your feedback - thinking about I found it's worth to > continue on the path we started already. > Means: > > 1. Compiling Camel by our own like proposed by Hadrian (but it doesn't seems > to be tha

Re: Posting to Camel Servlet endpoint brings up file download dialog

2011-03-10 Thread Claus Ibsen
Hi Don't use nabble to post as when nabble forward mails to the mailinglist, it removes XML, so whatever configuration you paste, we cannot see. On Fri, Mar 11, 2011 at 5:39 AM, gsilverman wrote: > I need help configuring Camel Servlet route so that when I post a form to the > endpoint, >  , I

Posting to Camel Servlet endpoint brings up file download dialog

2011-03-10 Thread gsilverman
I need help configuring Camel Servlet route so that when I post a form to the endpoint, , I don't get the file download dialog Firefox. I've tried everything I can think of to elminate the dialog but to no avail. I just use a simple route (from the tomcat servlet example on the Camel Servlet web

Problem setting Authentification using HttpProducer and dynamic URIs

2011-03-10 Thread schnitzelhugo
Hi, I'm new to Camel and got the following problem with Camel 2.6.0: An HTML file contain an URI lists of files to be downloaded from a web server to the local file system. The HTML file is parsed via a Java Bean Splitter. The Java Bean Splitter produces a Set of URI strings. These files should

Re: camel-cxf endpoint in CXF Dispatch mode

2011-03-10 Thread William Tam
Hi Aki, I recalled my suggestion was to try passing a dummy class in the cxfEndpoint config. It should allow you to send arbitrary payload. I guess that didn't work? It looks like your patch is doing just that am I missing something. I.e. http://localhost:9000/SoapContext/MyPort";

Re: how can I hand the webservice error when starting the camel

2011-03-10 Thread Bill
Hi, My cxf endpoint configuration is not wrong. when my order is : start cxf server --> start camel server , it is normal. but I want : start camel server --> start cxf server , it is throws FailedToCreateProducerException. I think when starting camel server, it check the cxf server is alive or

Re: PGP encryption inside a camel route

2011-03-10 Thread Stephen Gargan
Bernd, I've never tried, but it seems that the bouncy castle provider does have support for PGP. It should be possible to hook it into the crypto component. I'll take a look later and see what can be done. thanks Steve. On Thu, Mar 10, 2011 at 8:22 AM, winno_bernd wrote: > Hello! > > JIRA says

How can I disable stack traces from GenericFileOnCompletion's LoggingExceptionHandler?

2011-03-10 Thread Mike D
Hi, I am using Camel 2.6.0 and have a very simple file based route from a single input dir to a single output dir, with processors connected to both routes. In my specific use case an exception raised in a processor is not necessarily fatal and I do not want the stack trace information to get log

Re: camel-extra

2011-03-10 Thread grafpoo
got it, thanks much! -- View this message in context: http://camel.465427.n5.nabble.com/camel-extra-tp3423991p3424079.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Dropping support for Java1.5

2011-03-10 Thread bfischer
Hi Hadrian, Claus and Willem, many thanks for your feedback - thinking about I found it's worth to continue on the path we started already. Means: 1. Compiling Camel by our own like proposed by Hadrian (but it doesn't seems to be that easy) 2. I'll propose to my management to buy external support

Re: camel-extra

2011-03-10 Thread Hadrian Zbarcea
Thanks for reporting this. The project was recently moved to apache-extras and will undergo a few improvements right after the 2.7.0 release. The source link used to work (I tested it). Since it's hosted at google, I don't know if it's a temporary issue related to google servers or a bigger issu

camel-extra

2011-03-10 Thread grafpoo
i'm having trouble accessing the camel-extra project. the project home is there, but if i click on the source tab i get an error. if i try to access the repository (release or snapshot) from the MavenRepo wiki page, i also get an error. i am using camel-hibernate from camel-extra, and am hoping it

Best way of storing JMS messages

2011-03-10 Thread Gert Villemos
We used ActiveMQ, sending JMS messages. The JMS messages contains a POJO, as well as header fields, set based on the values in the POJO and used for filtering in the routes. We would like to also store the messages, in a way so that we can later use the header fields for retrieving. As an example

camel-cxf endpoint in CXF Dispatch mode

2011-03-10 Thread Aki Yoshida
Hi, I added the CXF dispatch mode to the Camel CXF endpoint so that I can ran SOAP intermediary/gateway scenarios over a single CXF endpoint with some CXF features enabled. I attached the patch file and unit test files to CAMEL-3778. In short, you can configure your endpoint like http://localh

Re: Upgrade to 2.6.0, can't context.addRoutes

2011-03-10 Thread sub3
Yes, that was it. My pom was somehow pointing to 2 different ones. Thanks a lot. -- View this message in context: http://camel.465427.n5.nabble.com/Upgrade-to-2-6-0-can-t-context-addRoutes-tp3423607p3423754.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Upgrade to 2.6.0, can't context.addRoutes

2011-03-10 Thread Claus Ibsen
Hi Can you double check your classpath. You may have mixed versions of Camel in the classpath. On Thu, Mar 10, 2011 at 5:29 PM, sub3 wrote: > Hi, > > Hope someone can help me out.  I am having issues upgrading to 2.6.0. During > runtime, I keep getting: > > java.lang.NoSuchMethodError: > org.ap

Upgrade to 2.6.0, can't context.addRoutes

2011-03-10 Thread sub3
Hi, Hope someone can help me out. I am having issues upgrading to 2.6.0. During runtime, I keep getting: java.lang.NoSuchMethodError: org.apache.camel.CamelContext.addRoutes(Lorg/apache/camel/RoutesBuilder;)V on: context.addRoutes(new RouteBuilder() { public void configure() { errorHan

Re: PGP encryption inside a camel route

2011-03-10 Thread winno_bernd
Hello! JIRA says, this issue should be fixed since version 2.3.0. But I can't find any information about using it as mentioned here: https://issues.apache.org/jira/browse/CAMEL-2597 https://issues.apache.org/jira/browse/CAMEL-2597 Can you give me some hints, how to decrypt PGP-Files with camel-c

Re: split() not splitting

2011-03-10 Thread grafpoo
yes, i do believe it is. but if it weren't, i'd also expect the logger at the end to log the objects individually. what i see in practice is the same array that went into the splitter. john -- View this message in context: http://camel.465427.n5.nabble.com/split-not-splitting-tp3423342p3423480

Re: split() not splitting

2011-03-10 Thread Claus Ibsen
Are you sure the groovy script works as expected? On Thu, Mar 10, 2011 at 3:14 PM, grafpoo wrote: > hi all, my first post, so assume this is a dubmb question. > > running Camel 2.4 > > i've set up a database ingesting route that takes in an array of > hibernate-mapped objects, splits them, and

Re: Over 1000 files file polling problem

2011-03-10 Thread davsclaus
Try using maxMessagesPerPoll=50 etc to limit it to only pickup 50 messages per poll. What OS are you using? If you are using Windows you have to be extra careful to ensure you close all resources related to files. Otherwise the file cannot be moved after processing. -- View this message in contex

split() not splitting

2011-03-10 Thread grafpoo
hi all, my first post, so assume this is a dubmb question. running Camel 2.4 i've set up a database ingesting route that takes in an array of hibernate-mapped objects, splits them, and sends the result to one of several hibernate endpoints (one per mapped object). so the body coming in is alread

Re: ActiveMQ connection with failover and prefetch

2011-03-10 Thread Marco Crivellaro
This is the URI format to use: failover:(tcp://localhost:61616?wireFormat.maxInactivityDuration=0&keepAlive=true)?jms.prefetchPolicy.queuePrefetch=1&initialReconnectDelay=1&useExponentialBackOff=false&maxReconnectAttempts=0&randomize=false more details can be found here: http://activemq.22833