Re: File component/language: preMove only

2010-07-30 Thread Pavel
Cool - thanks a lot. Yes, seems like preMove is a bit special indeed - it addresses technical issue of concurrency as opposed to functional requirements of file placement after processing... Pavel On Wed, Jul 28, 2010 at 12:31 PM, Claus Ibsen wrote: > I created a ticket to track this > https://i

Re: JMS Transactions not handling SecurityException?

2010-07-30 Thread Claus Ibsen
BTW I have created a ticket to see if we can do something in Camel to make it react to those security exceptions https://issues.apache.org/activemq/browse/CAMEL-3017 On Fri, Jul 30, 2010 at 2:26 PM, Holger wrote: > > I forwarded my question to activemq-user: > http://old.nabble.com/SecurityExce

Re: Mail-component, velocity and NullpointerException

2010-07-30 Thread Claus Ibsen
Hi You can see the unit tests in camel-mail. We use a MailMock framework. On Fri, Jul 30, 2010 at 5:06 PM, Tristan Koen wrote: > Thanks Claus. > Works perfectly in 2.5-SNAPSHOT. > > As an aside, how would one go about simulating an email received by > the camel-mail imap component in a unit test

Re: Mail-component, velocity and NullpointerException

2010-07-30 Thread Tristan Koen
Thanks Claus. Works perfectly in 2.5-SNAPSHOT. As an aside, how would one go about simulating an email received by the camel-mail imap component in a unit test? I tried the following, but I never got the same results as the real-world test: public class MailTest extends CamelTestSupport { @Overri

Re: Does camel-xmpp support the request reply pattern?

2010-07-30 Thread Claus Ibsen
On Tue, Jul 27, 2010 at 1:19 AM, Sean Parsons wrote: > I'm just experimenting with camel-xmpp, but it seems a bit like it doesn't > support request reply like most of the other endpoints.  The use case that > this is causing me some grief with writing a bot using the endpoint, so that > the user s

Re: Auto Start up issue when adding RouteDefintions

2010-07-30 Thread kumaap
thanks Claus. -- View this message in context: http://camel.465427.n5.nabble.com/Auto-Start-up-issue-when-adding-RouteDefintions-tp2256671p2259483.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JMS Transactions not handling SecurityException?

2010-07-30 Thread Holger
I forwarded my question to activemq-user: http://old.nabble.com/SecurityException-not-delegated-to-Camel--tp29305408p29305408.html Thanks, Holger Claus Ibsen-2 wrote: > > On Fri, Jul 30, 2010 at 1:26 PM, Holger wrote: >> >> Hi Claus, >> >> Thanks for your answer. >> >> Yet, I know how to conf

Re: FTPS execProt P failing.

2010-07-30 Thread Andreas Asmuss
Hi, I've overcome this problem now though and stepped into a myriad of new ones :) At the moment I can't make FTPSClient/Camel connect to a server that works perfectly fine with any other client with FTPS enabled (server authentication only). Any idea if FTPSClient is using SSLv2 or v3? Can't fi

Re: JMS Transactions not handling SecurityException?

2010-07-30 Thread Claus Ibsen
On Fri, Jul 30, 2010 at 1:26 PM, Holger wrote: > > Hi Claus, > > Thanks for your answer. > > Yet, I know how to configure Active MQ and really intended to have no access > to the queue bar2 as a test case. > > I assumed that Camel would rollback the transaction in this case but > unfortunately it

Re: JMS Transactions not handling SecurityException?

2010-07-30 Thread Holger
Hi Claus, Thanks for your answer. Yet, I know how to configure Active MQ and really intended to have no access to the queue bar2 as a test case. I assumed that Camel would rollback the transaction in this case but unfortunately it does not: On Wed, Jul 28, 2010 at 12:21 PM, Holger wrote: > >

Re: Mail-component, velocity and NullpointerException

2010-07-30 Thread Claus Ibsen
On Fri, Jul 30, 2010 at 11:37 AM, Tristan wrote: > > Thanks. > Somehow I ignored the blue bit. Have now subscribed. > I have created a ticket to track this bug https://issues.apache.org/activemq/browse/CAMEL-3015 And commiting a fix in short time. You are welcome to try 2.5-SNAPSHOT As a workar

Re: Mail-component, velocity and NullpointerException

2010-07-30 Thread Tristan
Thanks. Somehow I ignored the blue bit. Have now subscribed. On 30 July 2010 11:16, davsclaus [via Camel] wrote: > Hi > > See this wiki page > http://camel.apache.org/discussion-forums.html > > You need to be a subscriber of the mailinglist to have mails forwarded. > > _

Re: Mail-component, velocity and NullpointerException

2010-07-30 Thread davsclaus
Hi See this wiki page http://camel.apache.org/discussion-forums.html You need to be a subscriber of the mailinglist to have mails forwarded. -- View this message in context: http://camel.465427.n5.nabble.com/Mail-component-velocity-and-NullpointerException-tp2256742p2259340.html Sent from the

Re: JMS Transactions not handling SecurityException?

2010-07-30 Thread Claus Ibsen
Look at AMQ about security. You most likely need to configure the activemq component with a valid username/password which has permission to send messages. On Wed, Jul 28, 2010 at 12:21 PM, Holger wrote: > > Hi, > > I have the following (very basic) route, which should be transactional > (i.e.,

Re: FTPS execProt P failing.

2010-07-30 Thread Claus Ibsen
Hi There was another Camel end user, Bengt who helped with getting the FTPS stuff into Camel 2.4. He may be on vacation or something, but try to get his attention. On Wed, Jul 28, 2010 at 11:18 AM, Andreas Asmuss wrote: > > Hi > > I'm trying to connect to a FileZilla server with FTPS (Camel 2.4

Re: Caching issue in CAMEL

2010-07-30 Thread Willem Jiang
Hi, Can you try out the latest Camel 2.5-SNAPSHOT to verify the fix? Please let me know if it works. Willem -- Apache Camel, Apache CXF committer Open Source Integration http://www.fusesource.com Blog http://willemjiang.blogspot.com Tiwtter http://twitter.com/will

Re: RE : Usage of server managed thread of Websphere

2010-07-30 Thread Claus Ibsen
Hi Since you extend existing Camel code, then some logic of Camels is still being in use. Camel uses a naming pattern to apply thread names. You can set a thread name which implies WebSphere for example See the setThreadNamePattern method On Fri, Jul 30, 2010 at 10:18 AM, chaillon wrote: > >

RE : Usage of server managed thread of Websphere

2010-07-30 Thread chaillon
Yes, it should be the good manner to do it... I have tried this option with no success My source code is linked to this message I extends the DefaultExecutorStrategy and reference it via Spring XML. I have replaced all the calls to ExecutorServiceHelper from the DefaultExecutorStrategy by calls

Re: Put XML msgs from Java POJO into already running ActiveMQ instance? Camel sample adjustment

2010-07-30 Thread Claus Ibsen
Yeah you need to set the brokerURL on the activemq component. For example in the spring XML file. The @Produce only refers to the activemq component and the name of the JMS destination to send the message to. On Fri, Jul 30, 2010 at 9:28 AM, benxs wrote: > >> You change the brokerURL > > How do

Re: Caching issue in CAMEL

2010-07-30 Thread S. Ali Tokmen
Hello Sorry for the late reply, thank you for the JIRA issue Cheers S. Ali Tokmen savas-ali.tok...@bull.net Office: +33 4 76 29 76 19 GSM:+33 66 43 00 555 Bull, Architect of an Open World TM http://www.bull.com On 27/07/2010 06:43, Willem Jiang wrote: I just checked the code, the CxfSpr

Re: Put XML msgs from Java POJO into already running ActiveMQ instance? Camel sample adjustment

2010-07-30 Thread benxs
> You change the brokerURL How do I do this in java POJOs with annotations? I think in pure java coding would be: import org.apache.activemq.ActiveMQConnectionFactory; ... CamelContext context = new DefaultCamelContext(); ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(