Re: Python Script Producing a File

2012-12-11 Thread Claus Ibsen
And there is a camel-exec to execute a command, for example to call the phyton script. http://camel.apache.org/exec On Wed, Dec 12, 2012 at 8:18 AM, Willem jiang wrote: > Hi, > > You can use camel-timer or camel-direct endpoint to trigger the script. > I just want ask what your plan to start the

Re: Simple Expression With And Condition doesnt work in Camel 2.8

2012-12-11 Thread Claus Ibsen
In Camel 2.8 or older you have to be more careful when using simple language. The parser was re-written for 2.9 onwards. For example you should not have the ("xxx") around the entire simple expression. And try with 1 expression first, and make sure that works. Then you can add the " and ...". And

Re: Removing invalid endpoints from recipientList

2012-12-11 Thread Claus Ibsen
Hi See the documentation of the eip http://camel.apache.org/recipient-list.html There is an option ignoreInvalidEndpoints On Tue, Dec 11, 2012 at 8:00 PM, lleclerc wrote: > How can aggregationStrategy help me if the fake endpoint never get to create > an Exchange ? > Here is the test I did : h

Re: Serial communication

2012-12-11 Thread Willem jiang
Hi, I'm afraid you have to start with how can do it from mina side. Then you can go through the camel-mina document[1] to find out what else you need to do in camel-mina. [1]http://camel.apache.org/mina.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fu

Re: Python Script Producing a File

2012-12-11 Thread Willem jiang
Hi, You can use camel-timer or camel-direct endpoint to trigger the script. I just want ask what your plan to start the route which will call the script? -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://wil

Python Script Producing a File

2012-12-11 Thread neilac333
I would like to trigger a Python script that generates a file as output. I would then like this file to be processed along the rest of the route. I have been unable to find documentation on how to create a Python script endpoint at the beginning of the route and then the file endpoint waiting for

can i configure ActiveMQ in Camel with JAVA

2012-12-11 Thread yuneki
hi i'm newbie. We making very lightweight File&DB integrate server with camel only used JAVA DSL i think.. it embed ActiveMQ in ours Solution(camel based, next time it calls FDI) but i cant ActiveMQ configuration repo DB, path, etc... i made CustomComponent CLASS extends ActiveMQComponent

Serial communication

2012-12-11 Thread kiranreddykasa
Hi Is there any camel component which can be used for serial communication?? Mina 2 supports serial communication so camel-mina2 component can be used ?? If yes where can I find the documentation regarding camel-mina2 component? - Regards kiran Reddy -- View this message in context: h

Re: File do ActiveMQ

2012-12-11 Thread Christian Müller
I think I found the issue: org.apache.camel.component.file.GenericFileConverter: 88 Reader reader = genericFileToReader(file, exchange); 89 // we dont want a reader back, so use the type converter registry to find a suitable converter 90 TypeConverter readerTc = registry.lookup(type, Reader

Re: how to obtain camel-smpp submit message id

2012-12-11 Thread Johanes Soetanto
Hi Chris, On 12 December 2012 06:52, Christian Müller wrote: > The CamelSmppId is set in SmppSubmitSmCommand after the response is > received from the SMPP. You probably check the header of the wrong message > (in vs. out). >From looking at the source code I could see that it is being set on "Ca

Re: JMS Request Reply not working with temporary queues in 2.8 ?

2012-12-11 Thread Christian Müller
It makes no difference whether you use "jms" or "activemq" as component name so long you are using the same component (ActiveMqComponent) in both cases. The ActiveMqComponent is based on the JmsComponent and "optimized" for using ActiveMq. Both components support the same set of options. Using "ex

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-12-11 Thread Christian Müller
As I wrote, I couldn't reproduce the issue with your provided unit test. My unit tests also works fine. Any unit test which shows this issue would be great. Best, Christian On Tue, Dec 11, 2012 at 9:52 AM, anaCortes wrote: > > The test works also with CachingConnectionFactory and ActiveMQ 5.5.1

Re: how to obtain camel-smpp submit message id

2012-12-11 Thread Christian Müller
The CamelSmppId is set in SmppSubmitSmCommand after the response is received from the SMPP. You probably check the header of the wrong message (in vs. out). The SmppDeliverReceipt also contains the CamelSmppId. With this id, you can correlate the asynchronous received response. You can check out th

Re: Removing invalid endpoints from recipientList

2012-12-11 Thread lleclerc
How can aggregationStrategy help me if the fake endpoint never get to create an Exchange ? Here is the test I did : http://pastebin.com/ZTJzxS64 My fake endpoint will fail because it will return null as a producer (FailedToCreateProducerException). That is probably too heavy of an error. What I w

Emails with invalid Format (SPAM) block EMail Processing with: "Error populating the initial mail message attachments"

2012-12-11 Thread Philipp Koch
Hi Everybody, we haven an problem with camel processing SPAM Emails with an invalid Format. If sometimes an Email with an invalid format (Mostly Spam) reaches our Mailbox the processing of the Mailbox is blocked till the EMail has manually delete from the Mailbox. We are using an Spam Filter t

Re: Cannot sent mail using smtp component when smtp server require not credential

2012-12-11 Thread Claus Ibsen
On Tue, Dec 11, 2012 at 1:33 PM, nambiar.arunkumar wrote: > When iam trying to send the mail using *smtp*component (code below) i get > error > > *Error processing exchange. Exchange[Message: Testing SMTP mail.]. Caused > by: [org.springframework.mail.MailAuthenticationException - Authentication >

Re: camel-quickfix RequestReplyExample java.io.IOException

2012-12-11 Thread Babak Vahdat
Am 11.12.12 10:24 schrieb "Babak Vahdat" unter : > > >Am 11.12.12 03:09 schrieb "lawkai" unter : > >>Hi Babak, >> >>Thanks, I will give this a try when I am back in town. Appreciate your >>help. >> >>Might I also suggest to move this samples to the binary package instead >>in >>the sources? > >Y

Re: camel-quickfix RequestReplyExample java.io.IOException

2012-12-11 Thread Babak Vahdat
Am 11.12.12 03:09 schrieb "lawkai" unter : >Hi Babak, > >Thanks, I will give this a try when I am back in town. Appreciate your >help. > >Might I also suggest to move this samples to the binary package instead in >the sources? Yeah this would make much more sense as currently the users should c

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-12-11 Thread anaCortes
> The test works also with CachingConnectionFactory and ActiveMQ 5.5.1. > Could you update the test so that it will show your issue? Otherwise I'm > not sure whether we can find and resolve your issue. Using cacheConsumers=false with CachingConnectionFactory solved our problem, and if we can cha

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-12-11 Thread anaCortes
PooledConnectionFactory is in 5.5.1 but with the bug: https://issues.apache.org/jira/browse/CAMEL-4657 and this was affecting us. For that, i said it would be good for us if we can upgrade to AMQ 5.7 :) If we cannot do it, we will see the Claus´ idea about using FuseSource ActiveMQ distributions