Re: Email Attachments - Adding to Exchange Attachments

2013-10-11 Thread contactreji
hi Finally after a lot of struggle and handson, i have a fix here. We have to comment out *javax.activation;version="1.1", \* from two places inside the file */etc/jre.properties* . There are 2 places where it occurs.. *Very Important: THIS HAS TO BE DONE BEFORE THE FIRST KARAF BOOT. Else this

Re: Email Attachments - Adding to Exchange Attachments

2013-10-16 Thread contactreji
Sure Christian. I shall do that right away! :-) thanks On Sat, Oct 12, 2013 at 1:10 PM, Christian Mueller [via Camel] < ml-node+s465427n5741445...@n5.nabble.com> wrote: > Contactreji, can you please subscribe to the discussion forum as we > describe here [1]. Otherwise all your mai

Re: camel-rabbitmq : not able to publish messages

2013-10-16 Thread contactreji
Hi Could you tell me where have you mentioned the name of the Queue? Alternatively please let me know how it behaves when you remove noop-true Cheers Reji On Wed, Oct 16, 2013 at 3:45 PM, tsv [via Camel] < ml-node+s465427n5741707...@n5.nabble.com> wrote: > Greetings, > > I am using camel-rabbi

Re: Add new route runtime

2013-10-16 Thread contactreji
Hi If the route is very simple and can run with the dependencies already available in the Karaf, you can go for Blueprint deployment model by simply dropping the camel xml file containing the routes into the Fuse Installation/deploy folder. If it contains external jars/POM dependencies downloaded

Re: Being able to post and reveice email notification to subscribed posts

2013-10-16 Thread contactreji
How did you subscribe? Did u do it from camel nabble site? That would send a conformation email to your inbox which has a link to confirm your membership. "dmytro.puzhay [via Camel]" wrote: > > >Hi all, > >I've read http://camel.apache.org/discussion-forums.html and >http://camel.apache.org/ma

Re: Being able to post and reveice email notification to subscribed posts

2013-10-16 Thread contactreji
Hi.. How did you subscribe to the forum? On subscription you should have got a confirmation link in your inbox.. Reji On Wed, Oct 16, 2013 at 11:24 AM, dmytro.puzhay [via Camel] < ml-node+s465427n5741693...@n5.nabble.com> wrote: > Hi all, > > I've read http://camel.apache.org/discussion-forums.

Re: camel-rabbitmq : not able to publish messages

2013-10-16 Thread contactreji
Hey What is the name of the queue? And also try removing noop =true and let me know how it behaves cheers Reji "tsv [via Camel]" wrote: > > >Greetings, > >I am using camel-rabbitmq component to publish messages to rabbitmq broker. >But I see my route opens a connection in rabbitmq server (vie

Re: Add new route runtime

2013-10-16 Thread contactreji
Hi If its a simple route, you can even go for a blueprint deployment model. Just create the Camel routes and drop the XML file into the deploy folder of the jboss fuse. If its got external dependency, I would recommend you to add routes to the old package . As long as the artifact id, group I

Re: How to mock a processor

2013-10-17 Thread contactreji
I shall give u a small advice on this . Pls note. All components don't support attachment . Attachments in the Camel exchange might be lost while passing throughout some Camel components. So by rule of thumb, make sure attachments are added to the exchange just before calling an email component

Re: Add new route runtime

2013-10-18 Thread contactreji
hi Christian I have done that.. Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/Add-new-route-runtime-tp5741694p5741844.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JAXB partial unmarshalling

2013-10-18 Thread contactreji
Hi try implementing Serializable class like public class MobilePhone extends Serializable { @XmlElement private String QueryResult; @XmlElement private String AreaCode; } -- View this message in context: http://camel.465427.n5.nabble.com/JAXB-partial-un

Re: Email Attachments - Adding to Exchange Attachments

2013-10-18 Thread contactreji
Hi David Can you put following inside the cxfEndpoint declaration ** ** ** So effectively your cxfEndpoint bean will look like http://localhost:9003/weservice/SimpleWebservice"; wsdlURL="http://localhost:9003/weservice/SimpleWebservice?wsdl"; endpointName="ISimpleW

Re: Email Attachments - Adding to Exchange Attachments

2013-10-18 Thread contactreji
Hi David I posted my response for this at http://camel.465427.n5.nabble.com/Re-Email-Attachments-Adding-to-Exchange-Attachments-td5741847.html Please let me know if it works cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/Email-Attachments-Adding-to-Exchange-At

Re: Connecting two routes using direct

2013-10-18 Thread contactreji
Hi Bonnahu Could you tell what is the purpose of doing the same? I feel it will become difficult to handle files in the camel exchange Body if u want it that way. Else you should add it into the exchange attachments. But, the attachments might be lost since all components don't support attachments

Re: error: cannot find symbol when using split() in choice()

2013-10-18 Thread contactreji
I think you need to mention how to split the CSV. There should be delimiter with which the contents from csv file are split. Example , New Line characters, "|" , "comma" etc. If this doesn't work, request you to paste the complete error log. And is it a run time exception or a compile time except

Re: Large objects in headers and endpoints?

2013-10-18 Thread contactreji
Hi bro If its the reference which is passed, then i don't think so it will have performance issues. But I doubt that. Probably you can check that out by modifying copy of same objects in 2 different routes. Add a delay in one route and modify the same in another route. If its by reference, the ch

Re: Being able to post and reveice email notification to subscribed posts

2013-10-18 Thread contactreji
Hi Claus I have an issue here. When I reply to any post via email, it goes to the emailing list without moderators intervention. But the replies on that post never comes to my email. Can I set "Alert me by email when someone posts to this thread" option when I send posts via my Emails? On the ot

Re: Add new route runtime

2013-10-18 Thread contactreji
Hi Claus I have an issue here. When I reply to any post via email, it goes to the emailing list without moderators intervention. But the replies on that post never comes to my email. Can I set "Alert me by email when someone posts to this thread" option when I send posts via my Emails? On the

Re: Parallel file processing with Camel

2013-10-23 Thread contactreji
I would recommend avoiding filezilla. Could you try with an alternative FTP server. There is a FTP server which is shipped with Linux os. Give a try with that. Meanwhile try FTP options like stream data .. Refer camel documentation for stream options Reji "piyushbhatt [via Camel]" wrote:

Re: how to give the dynamic value to the tokenizeXML

2013-10-23 Thread contactreji
Hi Kumar You can have logic to calculate it in components like processor and add it to the exchange header.. And later in splitter component, you can refer the value from header using {in.header.tokenNameFromHeader} Look out for more ideas from forums users too! Cheers Reji On Wed, Oct 23, 20

Re: Best way to consuming same queue from two brokers?

2013-10-23 Thread contactreji
Hi Dunnlow If you are using in memory queue, have you thought about using seda: instead of direct : ? seda would be able to store message since its asynchronous and can buffer up data in case other routes dont come up on time . But direct is highly synchronous. Might have data loss of consumers

Re: ActiveMq-InOut: save exchange body

2013-10-24 Thread contactreji
Hi I had similar error while working with a webservice. The error was Timeout occurred after 2 millis waiting for reply message My code was like And it gave the above error I change it to ** which indeed solved

Re: Body is null exception when producing JMS messages from a Quartz endpoint

2013-10-24 Thread contactreji
You need to initialized the body with some value before sending it to some component wen route is started with timer or quartz You can set some arbitory value by using tag in your route. Sending camel exchange with null body to some camel components generated errors. Refer setBody tag exampl

Re: HTTP Basic Authentication

2013-10-25 Thread contactreji
Hi I used a interceptor approach. The java code for interceptor is as follows *package outotec.com.mes.bw.copper_recovery_perc;* *import java.io.IOException;* *import java.io.OutputStream;* *import java.net.HttpURLConnection;* *import java.util.Arrays;* *import java.util.List;* *import java.util.

Re: Camel-FTP - retrieving the files tranferred and updating DB

2013-10-31 Thread contactreji
Hi Bhavani You can retrieve the file name using camel simple expression ${file:name} if the file is in the body part of the exchange. Reference: jboss-fuse-6.0.0.redhat-024\examples\cbr\src\main\resources\OSGI-INF\blueprint\cbr.xml Reji -- View this message in context: http://camel.465427.

Re: Dead Letter Channel problem

2013-11-04 Thread contactreji
Hi Look at the error org.apache.camel.ExchangeTimedOutException: The OUT message was not received within: 2 millis due reply message with correlationID: Looks like its connected with MEP Could you try putting before putting the message into Q. It should solve the problem By default, the ME

Invitation to connect on LinkedIn

2013-12-01 Thread contactreji
LinkedIn lassesvestergaard, I'd like to add you to my professional network on LinkedIn. - Reji Reji Mathews Enterprise Application Integration (ESB) Engineer at Wipro Technologies India Confirm that you know Reji Mathews: https://www.linkedin.com/e/gndm92-hopd8qo6-g/isd/18420604

Invitation to connect on LinkedIn

2013-12-01 Thread contactreji
LinkedIn Christian, I'd like to add you to my professional network on LinkedIn. - Reji Reji Mathews Enterprise Application Integration (ESB) Engineer at Wipro Technologies India Confirm that you know Reji Mathews: https://www.linkedin.com/e/bclj9r-hopd8qs2-1s/isd/17080513797/Lno

Invitation to connect on LinkedIn

2013-12-01 Thread contactreji
LinkedIn David, I'd like to add you to my professional network on LinkedIn. - Reji Reji Mathews Enterprise Application Integration (ESB) Engineer at Wipro Technologies India Confirm that you know Reji Mathews: https://www.linkedin.com/e/-a00wvt-hopd8qo1-18/isd/18420604613/-_WMuP

Invitation to connect on LinkedIn

2013-12-01 Thread contactreji
LinkedIn Christian, I'd like to add you to my professional network on LinkedIn. - Reji Reji Mathews Enterprise Application Integration (ESB) Engineer at Wipro Technologies India Confirm that you know Reji Mathews: https://www.linkedin.com/e/-gqb8xn-hopd8qo4-u/isd/18420604609/4ps

Invitation to connect on LinkedIn

2013-12-01 Thread contactreji
LinkedIn piyushbhatt, I'd like to add you to my professional network on LinkedIn. - Reji Reji Mathews Enterprise Application Integration (ESB) Engineer at Wipro Technologies India Confirm that you know Reji Mathews: https://www.linkedin.com/e/uox64o-hopd8r7r-42/isd/18420604611/6

Invitation to connect on LinkedIn

2013-12-01 Thread contactreji
LinkedIn martin11, I'd like to add you to my professional network on LinkedIn. - Reji Reji Mathews Enterprise Application Integration (ESB) Engineer at Wipro Technologies India Confirm that you know Reji Mathews: https://www.linkedin.com/e/-91iypm-hopd8qoa-h/isd/18420604608/nNM8

Invitation to connect on LinkedIn

2013-12-01 Thread contactreji
LinkedIn dkum003, I'd like to add you to my professional network on LinkedIn. - Reji Reji Mathews Enterprise Application Integration (ESB) Engineer at Wipro Technologies India Confirm that you know Reji Mathews: https://www.linkedin.com/e/y0qrbk-hopd8qo1-4l/isd/18420604614/c58z5

Re: How to call remote soap web service from a application using apache camel

2013-12-15 Thread contactreji
Hi Reena U need to use CXF component for doing the same. Here i am following the WSDL first approach. i.e I got the wsdl file from the service provider. The wsdl file which I got is as follows. * http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://xmlns.example.com/1386864564116"; xmlns:soap="ht

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread contactreji
Hi Reena The Camel-xml route file is already included in the code. Anyways its as follows * http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:jaxws="http://cxf.apache.

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread contactreji
Why would you want to use a Code first approach when you are creating the client program which consumes the service? U have the wsdl of the service. So its easier to follow a wsdl first approach here. Usually we follow code first approach when we create services. Not when we consume services. For

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread contactreji
Reena. I used Active MQ cos in my example, I am taking the input from an Active MQ queue. The use case takes an input string from queue like example "tom-cruise" .. The program separates 'tom' and 'cruise' as first name and last name and uses them to invoke the webservice which returns the Marks a

Camel Security Framework - ActiveMQ Store error

2014-01-07 Thread contactreji
Hi I was trying to do some encryption exercises. Once the message is decrypted, I am unable to store the result into a ActiveMQ Queue. Would be really helpful if someone can suggest a fix. The encryption and decryption are successfully working. My Camel Routes are as follows: * http://www.sp

Re: Camel Security Framework - ActiveMQ Store error

2014-01-12 Thread contactreji
Thanks Taariq :-) I will check on that and revert soon! Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Security-Framework-ActiveMQ-Store-error-tp5745719p5745880.html Sent from the Camel - Users mailing list archive at Nabble.com.

Moving Objects between Active MQ queues using Camel Routes

2014-01-15 Thread contactreji
Hi I am trying to move contents of one queue to another queue. The source queue contains Java object. My came route is as follows * http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:amq="http://activemq.apache.org/schema/core"

Re: Moving Objects between Active MQ queues using Camel Routes

2014-01-16 Thread contactreji
Hi Claus Thanks a lot! I had the exact copy of annotated class at both server and client end. But sadly I didn't notice that package name was different. Once was com.example.Student and other was com.queueshifter.Student After renaming the package with the same name as the other, it worked like

Re: Moving Objects between Active MQ queues using Camel Routes

2014-01-16 Thread contactreji
Hi Williem Thanks brother for the advice. My package name was different from that of the Class which was in the application which en-queued the object. I fixed it by keeping same package name Regards Reji -- View this message in context: http://camel.465427.n5.nabble.com/Moving-Objects-betwe

Camel mock:end

2014-01-22 Thread contactreji
Hi All I was using mock component as a sink element in one of the stubs i had created representing a destination system. Once pushed to mock:end, it is not used by any assertions statements / logic. *I wanted to know if the exchanges pushed to mock:end component will stay in memory or is the exc

Re: Moving Objects between Active MQ queues using Camel Routes

2014-01-27 Thread contactreji
Hi Richard Thanks!! That helped me :-) Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/Moving-Objects-between-Active-MQ-queues-using-Camel-Routes-tp5746020p5746489.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel SQL compnent - Return

2014-01-27 Thread contactreji
Hi Can someone tell me in what format are the records returned into the exchange once camel sql component performs a select query. How can I access those values in an implemented Processor class down the route? Cheers Reji Mathews -- View this message in context: http://camel.465427.n5.na

JDBC Connection object in Camel Processor

2014-02-24 Thread contactreji
Hi I am trying to do a database operation inside a Processor class. I have a code *private static Connection createConnection() { Connection conn=null; try { Class.forName("com.mysql.jdbc.Driver");

Re: JDBC Connection object in Camel Processor

2014-02-25 Thread contactreji
Hi Clause Thanks for your prompt help! :-) I followed your advice and did following changes in the POM file. * org.apache.felix maven-bundle-plugin 2.3.4 true

Re: JDBC Connection object in Camel Processor

2014-02-26 Thread contactreji
Hi Claus I have modified my POM to look like org.apache.felix maven-bundle-plugin 2.3.4 true

Re: JDBC Connection object in Camel Processor

2014-02-26 Thread contactreji
Hi Claus I have installed the driver from the link http://dev.mysql.com/downloads/connector/j/5.1.html I am using windows platform. hence I used the driver available at the above link. I am still getting the same error. The driver doesn't seem to load. Do we have anything else to check in the c

Re: JDBC Connection object in Camel Processor

2014-02-26 Thread contactreji
Hi Christian Can you give me the link of an example which illustrated injection of the connection pool? It will be helpful for me to understand in a better way. Regards Reji Mathews -- View this message in context: http://camel.465427.n5.nabble.com/JDBC-Connection-object-in-Camel-Processor-t

Polling Email Component - Runtime Error

2014-03-18 Thread contactreji
Hi I have a route as follows * * On execution, I am getting following runtime error. Can you tell me why there is a NULL pointor exception. My email does contain content f

Re: Polling Email Component - Runtime Error

2014-03-18 Thread contactreji
Hi Claus Thanks for that quick help. I have modified my route file as follows and passed the Exchange into a processor class where I process the contents. * * Yet am getting following error. It looks more like issues wi

Re: Polling Email Component - Runtime Error

2014-03-18 Thread contactreji
Hi Claus I upgraded the Camel version as well as the camel-mail to 2.11.1 I set the mapMailMessage=false too. I followed your advice at the link https://issues.apache.org/jira/browse/CAMEL-6154 by setting closeFolder=false Still am stuck up with the error as below *2014-03-18 22:02:56,406 [ing.

Re: Polling Email Component - Runtime Error

2014-03-18 Thread contactreji
Hi Claus I am getting a new set of errors in log now.. There seems to be something different here. This happended when I had set mapMailMessage=false Have any idea whats the fix from this point onwards? * 2014-03-18 22:22:11,966 [/imap.gmail.com] WARN MailConsumer - Caused by:

Re: Camel CXF Proxy with WS-Security

2014-03-21 Thread contactreji
The camel route might look something like follows   But make sure your bean:myProcessor returns the body as a XML and not POJO. Thats needed for the XSLT. I am not very sure if x

Re: CBR/Choice Exceptions

2014-03-24 Thread contactreji
Hey Guru Are you using this CBR to route based on the Web service operations? Some thing like follows http://camel.apache.org/schema/spring";> ${in.header.operationName} == 'updateCustomer'

Re: Camel CXF Proxy with WS-Security

2014-03-24 Thread contactreji
You said "When I feed the soap envelope in string format to CXF endpoint, the SOAP body is empty when coming out the endpoint." That might be because the web service you are invoking may not have any response data. The empty SOAP envelop is an evidence for the same. Can you share the wsdl of the

Issue with SetHeader / Xpath

2014-03-25 Thread contactreji
Hi Would be nice if you guys can help me with the proper way os using Xpath in Spring DSL I am trying to extract a value from incomign XML file using Xpath and trying to set it to header. The route is as follows * ftp://{{ftpUser}}@{{ftpHost}}{{path}}?password={{ftpPasswo

Re: Passing exchange between routes and accessing exchange values in from uri

2014-04-03 Thread contactreji
You have even write a custom Java Code for FTP file retrieval in a Camel processor bean after receiving the data from jms queue. Like and write a java code in FTPClient.java implementing the interface Processor which takes in a object of Exchange. Once the file is received, just add it to

ReturnType of Bindy - CSV to JAva Obj

2014-04-05 Thread contactreji
Hey Guys I was creating a POC which reads a CSV file with following content *reji,mathews,2681,pass jack,rose,261,fail * The class defined is as follows * package com.poc.camel.csv.java.bindy; import java.io.Serializable; import javax.xml.bind.annotation.XmlRootElement; import org.apache.camel

Re: ReturnType of Bindy - CSV to JAva Obj

2014-04-06 Thread contactreji
quot; < ml-node+s465427n5749857...@n5.nabble.com> wrote: > I don't see in the camel examples that you call your processor. Anyway, > your error is related to the fact that wrong type returned by a processor > that you call. > > > On Sat, Apr 5, 2014 at 1:57 PM, con

Re: Issue with SetHeader / Xpath

2014-04-14 Thread contactreji
Thanks Claus :-) It worked!! -- View this message in context: http://camel.465427.n5.nabble.com/Issue-with-SetHeader-Xpath-tp5749368p5750178.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel JAXB component - schema attribute not present in element JAXB

2014-04-14 Thread contactreji
Hi friends I was just trying to use Camel JaXB element to unmarshall an incoming XML to java object. My code is as follows http://camel.apache.org/schema/spring"; xmlns:eamns="http://www.ibm.com/maximo";>

Re: Camel JAXB component - schema attribute not present in element JAXB

2014-04-14 Thread contactreji
Hi Claus Thanks for that! Can you suggest of there is a way I can use JAXB mashalling capabilities without Java classes. Can I get the job done by directly giving a .xsd file to the component. Reji -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JAXB-component-schema

Camel Bindy - Issues with returntype

2014-04-16 Thread contactreji
Hi I am trying to parse some CSV data. Camel Bindy component seems to be doing its job well. When I am taking the data to a processor to access each Object separately and do the processing, I see that Bindy returns a List and the List contains a Hashmap!! Is there a way to configure Bindy to re

Camel JAXB - ArrayList of Objects to XML

2014-04-17 Thread contactreji
Hi Is there a way to convert incoming ArrayList of Java Objects into XML? I have used camel JAXB component for converting a simple object into XML. But according to my requirement, I need to create an XML file containing multiple Order details into a XML containing a root tag as Orders and sub t

RE: Camel JAXB - ArrayList of Objects to XML

2014-04-17 Thread contactreji
Hi Ravi Thanks .. That was helpful :-) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JAXB-ArrayList-of-Objects-to-XML-tp5750356p5750359.html Sent from the Camel - Users mailing list archive at Nabble.com.

XSLT without Namespace

2014-05-06 Thread contactreji
Hi I am trying to use XSLT component. My incoming xml is a raw xml structure which has no namespace informations associated with it. Is there a way to write xsl code to transform this into another xml structure. I tried xsl code as follows http://www.openapplications.org/oagis/9 ProcessRequi

Java in XSLT - Issue

2014-05-21 Thread contactreji
Hi I am trying to call some Java logic from the XSL file. The java code is already in the classpath. It runs fine while running in maven using the maven:run command. But when deployed into Fuse, it doesn't work. It throws run time exceptions. Can someone suggest how to get those advanced XSLT f

Camel - FTP endpoint issue

2014-05-23 Thread contactreji
We use Camel Integration framework to develop our integration projects and deploy them into Jboss Fuse container. We have a consumer end point as ftp. Route looks as follows All parameters are maintained in a property files. Now the issue we are facing is as follows 1) If w

Re: Exception calling webservice with camel

2014-05-23 Thread contactreji
How are u invoking the webservice? Are you using CXF framwork? If so please provide the CXF endpoint configs Reji -- View this message in context: http://camel.465427.n5.nabble.com/Exception-calling-webservice-with-camel-tp5751464p5751548.html Sent from the Camel - Users mailing list archive a

Re: Sending mail using JAMES Server

2014-07-17 Thread contactreji
I don't see a need to use InOut MEP here. -- View this message in context: http://camel.465427.n5.nabble.com/Sending-mail-using-JAMES-Server-tp5753941p5753973.html Sent from the Camel - Users mailing list archive at Nabble.com.

Unicode character issues - Incoming Russian Characters

2014-07-29 Thread contactreji
Hi guys Am facing a different kind of problem this time. I have message coming in from a system in Russia. The message looks like below. I am applying XSLT transformation and the output is very different from the data I hav

WSDL2Java error in Camel Project

2014-08-04 Thread contactreji
Hi Guys I just tried creating web service using WSDL first approach. I have created wsdl successfully but while i import the same into my camel project and try to generate classes using wsdl2java plugin, I get following errors. * Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin

RecepientList - Individual Target status

2014-08-14 Thread contactreji
Hi Camel Riders I am using camel recepientList EIP for dynamic target system determination. Route as follows listOfTargetSystems Just wanted to know *if there is a way I can track the one which was successfull and the one which failed*. Is there a way to do that from this EI

Re: RecepientList - Individual Target status

2014-08-15 Thread contactreji
Hi Claus That was amazing. Thanks a lot. It was populated in the exchange header called *CamelFailureEndpoint*. It was mapped to the constant you mentioned in ur reply "FAILURE_ENDPOINT" Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/RecepientList-Individual-T

File Consumer Endpoint - File Name Header

2014-08-15 Thread contactreji
Hi Folks Am reading a file using File Consumer Endpoint as follows. Can someone help me with the *name of the Header to which the name of the file picked in mapped*? I want the *consumed fileName* to be copied to a header called MessageID. Following doesn't work. It stores null

Re: File Consumer Endpoint - File Name Header

2014-08-15 Thread contactreji
Thanks Clause :-) I got the fileName in header called "CamelFileNameOnly" Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/File-Consumer-Endpoint-File-Name-Header-tp5755253p5755265.html Sent from the Camel - Users mailing list archive at Nabble.com.

CXF producer endpoint - URL symbol clash

2014-08-19 Thread contactreji
Hey Guys I have a very peculiar case here. I have to send data to a web service available at SAP PI middleware from Fuse ESB. The url at which SAP PI has exposed their service looks like http://otpidd01:5/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_D_EAM_Global&receiverParty=

RE: CXF producer endpoint - URL symbol clash

2014-08-20 Thread contactreji
Thanks Prajod for the reply. We used that method initially where the target systems were fixed and predefined. But now the scenario is slightly more dynamic. We need to have dynamic target system details to be read from database. We are using camel recepientList EIP. Hence, on the fly am populati

Camel - JAAS / Fuse

2014-10-07 Thread contactreji
Hi Is there an updation on the classes given @ following block of code is valid anymore * org.apache.karaf.jaas.boot.principal.RolePrincipal

Basic Authentication - Camel Jetty

2014-10-07 Thread contactreji
Hi Can someone help me with a way to implementing Basic Authentication to camel jetty consumer? I am trying to avoid JAAS here. What are the other alternatives? Does inInterceptors work for jetty? is that a good way of doing things? Would be helpful if someone can share the piece of code. Chee

Camel Splitter EIP

2014-10-21 Thread contactreji
Hi friends I am trying to split my messages using camel splitter. But its a slightly different way of doing things. I have an input file as follows * ECONOMICS Paul Thomas * I want the output as follows * ECONOMICS Paul * And another recor

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
I tried doing it this way ns:SyncPersonnel/ns:DataArea/ns:Personnel Is this the correct way? I also get an error a

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
Hi Charles Thanks for you input. I have change to token. But i get errors as *Caused by: org.xml.sax.SAXParseException; lineNumber: 50; columnNumber: 24; cvc-complex-type.3.2.2: Attribute 'mode' is not allowed to appear in element 'tokenize'. at com.sun.org.apache.xerces.internal.util

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
Thanks Charles My camel xml file looks like * http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:jaxws="http://cxf.apache.org/jaxws"; xmlns:http-conf="http://cxf.apache

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
Hi Charles I also found something called xtokenize on http://camel.apache.org/splitter.html documentation page. Can you suggest how this can be used to my use case? Reji -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757851.html Sent from the

Re: CXF webservice deployment on glassfish

2014-11-02 Thread contactreji
Hi Try to configure your end point this way provided you are following a contract-first approach. http://hostname:port/webservices/incident"; serviceClass="path_to_your_service_class_generated_from_wsdl2java_plugin" wsdlURL="wsdl/NameofWSDL.wsdl" serviceName="ons:

Re: There is a problem with the dataFormat MESSAGE and an XSLT transformation?

2014-11-06 Thread contactreji
I would suggest you to remove the Soap Envelop from the XSLT. After doing that, a little more way to doing things clean would be to use messageFormat=PAYLOAD like It works flawless for me. -- View this message in context: http://camel.465427.n5.nabble.com/There-is-a-problem-with-the-dataF

Camel SQL component - Insert Operation

2014-11-13 Thread contactreji
Hi I am trying to insert a record into the camel database. I have no errors when I hard code the value like ** I was wondering why I get following error when I have following camel Spring DSL line * Samson * * org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallba

CXF - Error starting route with CXF endpoint

2014-11-14 Thread contactreji
Hey I get following exception while starting my route with CXF. I guess my project was executing fine till 2 days back. But today I have this issue. *Error occurred while running main from: org.apache.camel.spring.Main java.lang.reflect.InvocationTargetException at sun.reflect.NativeMeth

Camel Exception and Velocity - Blank Values

2014-11-20 Thread contactreji
Hi I have a route as follows which consumes from a vm: endpoint. Data comes to this endpoint from an exception handler in another module. I am trying to send alert mails for this exception using camel velocity. I used both {in.headers.CAMEL_EXCEPTION} was well as ${exception} in the camel veloc

Re: Camel Exception and Velocity - Blank Values

2014-11-21 Thread contactreji
Thanx Claus for the tip. But I was wondering why my setHeader is not able to popuate the value ${exception} This doesnt work :-( Reji -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Exception-and-Velocity-Blank-Values-tp5759407p5759414.h

Duplicate Elimination

2014-12-03 Thread contactreji
Hi I have a requirement where I need to omit duplicate records. Consider sample below * INR USD 60.2 INR USD 58.2 YEN INR .52 SAR INR 16.50 * Now what i wanna do is remove all duplicates. As well as if there is same pair of Source and TargetCurrency , I want to send ahead the first rec

Re: Duplicate Elimination

2014-12-03 Thread contactreji
Thanks David A littlemore cleaner way was to use XSLT transformation. I was just interested in knowing if there is any provisions in Camel itself. Was trying to explore if idempotent consumer can work with more than 1 parameters as identifier. Following XSL code did the magic! *http://www.w3.org

Camel CBR using OGNL

2014-12-04 Thread contactreji
Hi I am receiving data into CXF endpoint using dataFormat=POJO. I want to do some routing based on the value of object member. Suppose i get the object of class Order which as a member called currency, how can i write CBR to route this based on the currency. I am wondering if something like foll

Camel REstlet -Response

2014-12-09 Thread contactreji
Hi I am trying to use RESTLET component to create a rest service. My requirement is to 1) pass the 2 parameters called "id" and "firstName" 2) create a Object of Customer class and set its class variables id and Name with above parameters 3) Return the customer object so that my SOAP UI shows up

Re: Camel REstlet -Response

2014-12-09 Thread contactreji
Can someone help in this? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-REstlet-Response-tp5760370p5760392.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Twitter Consumer - DirectMessage

2014-12-19 Thread contactreji
Hi friends I was trying integrate an application with Twitter. My use case demands that I should read DirectMessages of a user and store it into a DB containing 2 columns. SenderScreeName and MessageText. I am using Camel 2.13.0 version and I have following route uri="twitte

Re: Camel Twitter Consumer - DirectMessage

2014-12-20 Thread contactreji
As of now I have made a temporary work around on this. I copied the source of the class from following link into my project and I am not isntantiating the object to access members. Wondering if there is any better method by playing around on POM.xml file http://grepcode.com/file/repo1.maven.org/

  1   2   3   >