Re: Parlay Rest SMS with Apache Camel

2014-06-25 Thread Claus Ibsen
Hi Thanks for sharing this On Wed, Jun 25, 2014 at 12:19 PM, imranrazakhan wrote: > Hi All, > > Please find below How we can send Parlay Rest SMS with Apache Camel. > > http://imranrazakh.blogspot.ae/2014/04/parlay-rest-sms-with-apache-camel.html > > Regards > > > > -- > View this message in con

Re: Problem with inserting database from camel-context.xml

2014-06-25 Thread Claus Ibsen
Hi The SQL component does not support providing types in the # placeholders. You would need to convert the data before. Or you can take a look at using for example the camel-mybatis component. Although we could look at improving the sql component so you can provide the type Maybe something like

Re: convertBody - To SFTP component

2014-06-25 Thread Rajesh
Hi , I don't thing you need to convert the string to file inorder to put it in a remote sever. You just need to set the header for valid file name otherwise camel will create the file with the name as messageid Sent from my iPhone > On 26 Jun, 2014, at 4:42 am, eswar wrote: > > hi - > > I

Re: convertBody - To SFTP component

2014-06-25 Thread Claus Ibsen
Hi Camel allows to send the message body as-is over FTP (either if its text based or binary), the latter assum it can be read as input stream. Camel uses type converters for this. http://camel.apache.org/type-converter.html So if you want Camel to send a file to a ftp server you can just keep th

convertBody - To SFTP component

2014-06-25 Thread eswar
hi - I have a message with body content with string value of file name and directory in it. That I need to send to a different server using sftp component. I am sure we need to convert the message body to a File class to be able to send it using the sftp, do we need to scan through the file to co

Does Re-Delivery work with TCP?

2014-06-25 Thread icech...@gmail.com
Does the message re-delivery work with TCP endpoints? I tried and it works just fine with HTTP - i.e Camel will try to redeliver the message. BUT with TCP (mina2, netty) it does not try to attempt to redeliver the message. It just fails the first time with the exception "Failed to get the session

Re: Camel hang on graceful shutdown - NOT trying to stop a route from a route

2014-06-25 Thread Paul Gale
Thanks for the suggestion. I tried it but unfortunately it didn't fix anything. I even included the broker tag id in the list of 'depends-on' without success. Anyone else have thoughts on this? Thanks, Paul On Tue, Jun 24, 2014 at 12:55 AM, boday wrote: > you might try adding a "depends-on"

Re: Problem with sFTP PUT

2014-06-25 Thread Claus Ibsen
Hi Take care about absolute vs relative path. If the path to login is relative to the "home" dir of the accout, then do not use a front slash. You seem to have an absolute path with /apps/cdts/data_in_datapower/ On Wed, Jun 25, 2014 at 2:57 PM, deepak_a wrote: > Hi, > > I am using Camel 2.12.0.

Re: Problem with sFTP PUT

2014-06-25 Thread deepak_a
I have got confirmation that relevant access/rights have been given to the /put directory. As explained in my first post, I can successfully 'PUT' by logging to the sFTP form command line via psftp.exe Problem occurs only when i use Camel. -- View this message in context: http://camel.465427

Problem with inserting database from camel-context.xml

2014-06-25 Thread aioria3077
hi good day, I'm new to all this. i have the following ${body[0]} .. .. which works correctly when fields of my database are TEXT, but if I have a field, for example, ID int, not performing insert,

Re: Problem with sFTP PUT

2014-06-25 Thread Reji Mathews
Looks like you don't have access rights or write permissions given by your ftp server admin. On 25/06/2014 6:27 pm, "deepak_a" wrote: > Hi, > > I am using Camel 2.12.0. > I am using the sftp component. The sFTP server is hosted on a UNIX based > system. > > The following works fine when I 'PUT' a

Re: Problem with sFTP PUT

2014-06-25 Thread deepak_a
Hi Can some one advise on how to fix this? I have tried setting separator to Unix, also tried stepwise to true/false - cannot get it to work. -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-sFTP-PUT-tp5752794p5752808.html Sent from the Camel - Users mailing li

Pound,Euro symbols in message rendered as "?" on camel route

2014-06-25 Thread Aadil
Hi, I am facing issue with Pound symbol coming in my messages to camel route , This pound symbol when comes in json request on my camel rest endpoint , it gets converted to "?" the same gets shown on log too. I have tried below ways to fix this by setting convertBodyTo tag charset to utf-8 but i

Re: Problem with sFTP PUT

2014-06-25 Thread deepak_a
/apps/cdts/data_in_datapower/ is the root directory but I do not have access/privilege to access root directory. When I login I will be defaulted to home directory from where I can do a 'put' But when I PUT the file I must also explicitly include the /put directory (because sFTP server has not giv

Re: Problem with sFTP PUT

2014-06-25 Thread Knut-Håvard Aksnes
Have you tried adding ./ as a prefix to the target file name. To me this looks like a problem not in changing directory to put but a problem in changing to your root directory on the sFTP server, there are no put in this error line from the error message: org.apache.camel.component.file.GenericFil

Re: CXFRS documentation

2014-06-25 Thread Sergey Beryozkin
Hi On 25/06/14 11:52, Knut-Håvard Aksnes wrote: Some context first: 1. I am trying to implement a REST service containing a number of methods using CXFRS 2. The routes will be one part of a bigger war which will be deployed in Tomcat. 3. I am trying to use bindingStyle=SimpleConsumer The problem

Re: Problem with sFTP PUT

2014-06-25 Thread deepak_a
I will try this approach (storing the file in disk, reading it again and sending over sFTP) But I think the problem is with the put/ Its the 'put' directory before the file name - I think the route is not able to traverse to that directory when it attempts to put the file. (nothing wrong with th

Re: Problem with sFTP PUT

2014-06-25 Thread Knut-Håvard Aksnes
Should be: from("file://D:/opt/share/Outbound_TDCC/DTS4/UP/C5T62?fileName=S60300") .setHeader("CamelFileName",constant("DTS4.UP.C5T62.S60300")) .to("sfp://..."); -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-sFTP-PUT-tp5752794p5752796.html Sent from the Camel

Re: Problem with sFTP PUT

2014-06-25 Thread Knut-Håvard Aksnes
You should probably use the file component to read the file then send the output to sftp somewhat like: from("file://D:/opt/share/Outbound_TDCC/DTS4/UP/C5T62?fileName=S60300") .setHeader("CamelFileName","DTS4.UP.C5T62.S60300") .to("sfp://..."); (Using java routebuilder style.) -- View this m

Problem with sFTP PUT

2014-06-25 Thread deepak_a
Hi, I am using Camel 2.12.0. I am using the sftp component. The sFTP server is hosted on a UNIX based system. The following works fine when I 'PUT' a file manually This is What works: psftp> put D:\opt\share\Outbound_DTCC\DTS4\UP\C5T62\S60300 put/DTS4.UP.C5T62.S60300 I am trying to do somethin

Re: Camel-sent email content goes to an attachment "ATT00001.xml"?

2014-06-25 Thread OrackBahama
Hi all, seems this is not a problem of Camel but of Microsoft exchange servers. See: http://support.microsoft.com/kb/969854/en-us or http://kb.mit.edu/confluence/pages/viewpage.action?pageId=4981187 Regards -- View this message in context: http://camel.465427.n5.nabble.com/Camel-sent-emai

Re: camel mail: content-transfer-encoding configurable

2014-06-25 Thread cgiera
Ticket created, see https://issues.apache.org/jira/browse/CAMEL-7536. Looking forward to provide a patch. kind regards, Christoph -- View this message in context: http://camel.465427.n5.nabble.com/camel-mail-content-transfer-encoding-configurable-tp5752504p5752791.html Sent from the Camel - Us

Re: Problems with file component.

2014-06-25 Thread Knut-Håvard Aksnes
As noted in a my latest comment on the Jira issue there might be possible to work around this problem using filters. See comments jira issue for further details. -- View this message in context: http://camel.465427.n5.nabble.com/Problems-with-file-component-tp5752629p5752790.html Sent from the

Re: CXFRS documentation

2014-06-25 Thread Knut-Håvard Aksnes
The main reason I am looking into this at all is that the restlet component doesn't offer a clean way of specifying and handling of QueryParameters, the route description only contains the PathParameters (@PathParam vs. @QueryParam annotations in JAX-RS) It is possible to extract them from the Came

CXFRS documentation

2014-06-25 Thread Knut-Håvard Aksnes
Some context first: 1. I am trying to implement a REST service containing a number of methods using CXFRS 2. The routes will be one part of a bigger war which will be deployed in Tomcat. 3. I am trying to use bindingStyle=SimpleConsumer The problem is that I find some of the xml configuration exam

Camel AdviceWith issues

2014-06-25 Thread Gnanaguru S
Hello Its my long pending doubt on using AOP stuffs in Camel while writing test cases. 1. weavebyid - works only with processors like Choice, doTry, Multicast. It doesn't work with endpoints. Especially with 'To' endpoints. ( For 'From' endpoint we anyway have ReplaceFromWith ) 2. weavebyToStr

Parlay Rest SMS with Apache Camel

2014-06-25 Thread imranrazakhan
Hi All, Please find below How we can send Parlay Rest SMS with Apache Camel. http://imranrazakh.blogspot.ae/2014/04/parlay-rest-sms-with-apache-camel.html Regards -- View this message in context: http://camel.465427.n5.nabble.com/Parlay-Rest-SMS-with-Apache-Camel-tp5752787.html Sent from the

Camel-hbase : problem with qualifier "id"

2014-06-25 Thread A577127
Hello, I'm not sure if this is a bug or an "undocumented" feature so I put this here. When using camel-hbase's producer, if you want to use an HBase qualifier with the value "id", it doesn't work. For example : I have an HBase table "registrations" with a family "token" and a qualifier "id". To

Re: SMPP type connection.

2014-06-25 Thread Christian Müller
You should be able to configure log4j in a way that this class logs into a different file. May this helps? Best, Christian Am 06.05.2014 12:53 schrieb "PinkSs" : > Hi All, > > I am using amq+camel+smpp for working with SMSC. I used SMPP as camel > coponent and use these endpoints in routes. I wan

Re: Validator in camel route shows strange error message

2014-06-25 Thread Christian Müller
Which version do you use? Best, Christian Am 13.05.2014 17:14 schrieb "yuncil" : > I tested it with another schema file, and the test successfully passed. The > original schema file has many includes and the included files also have > many > includes, consequently there are lots of references to

Re: Redeliver policy keep parking threads

2014-06-25 Thread Christian Müller
Can you please share your route definition with us? Which version do you use? Best, Christian Am 19.05.2014 12:06 schrieb "poussma" : > Hello, > > I have a route that tries to redeliver the messages in case of the > destination is not available. > > I noticed when camel tries to redeliver a mess

Re: AggregationStrategyBeanAdapter potential issue when using POJO aggregator and receiving null response

2014-06-25 Thread Radu Badita
Hi Claus, It is not a timeout. The null body is the response from the endpoint (a bean method in my case). I think it would be great, alt least for this use-case, to allow null body from an endpoint to be handled by a POJO aggregator. Thanks, Radu B. On Thu, May 29, 2014 at 4:26 PM, Claus Ibsen