native(dll) to java callback method in Camel

2010-04-21 Thread vcheruvu
Hi, I have an old java application that loads dll (native) to connect to third party vendor. This dll will synchronously invoke onMessageRecieved callback method at java side when there is an event and converts bytes to strings. I am trying to investigate if I can write custom Camel Component

unable to download 2.3 from any mirror links

2010-05-09 Thread vcheruvu
Hi , I have tried to download the camel 2.3 version and noticed all the mirror links are broken. http://apache.mirror.aussiehq.net.au/activemq/apache-camel/2.3.0/apache-camel-2.3.0.zip Regards, -Vid- -- View this message in context: http://old.nabble.com/unable-to-download-2.3-from-any-mirr

Exception while trying to gracefully shutdown camel

2010-05-26 Thread vcheruvu
Hi, I am performing graceful shutdown test with our application.This is to ensure Camel does process all of the messages from VM queue and shutdown our application. So, our application reads data from tables as a queue using Camel-JPA Component. Please see my camel spring config in the attachment

Re: Exception while trying to gracefully shutdown camel

2010-05-26 Thread vcheruvu
something else that I am missing? Claus Ibsen-2 wrote: > > Hi > > You most likely need to configure some of your routes to Defer > shutting down so they are active and can process the messages. > You can read about this option in the Camel documentation. > > >

Re: Exception while trying to gracefully shutdown camel

2010-05-28 Thread vcheruvu
options on the spring beans. I wonder if > the depends-on="camel" Spring attribute can be used so Spring will > shutdown those spring beans AFTER camel. > > On Thu, May 27, 2010 at 5:21 AM, vcheruvu > wrote: >> >> Hi, >> >> I am performing gracefu

Re: Exception while trying to gracefully shutdown camel

2010-05-28 Thread vcheruvu
I am using Spring 2.5.6. Claus Ibsen-2 wrote: > > Hi > > What version of Spring are you using? > > > > On Fri, May 28, 2010 at 11:34 AM, vcheruvu > wrote: >> >> K.. I have gone through Spring reference manual and looked at ways to >> control &

Set Filename in the header property

2010-08-04 Thread vcheruvu
Hi, I have created route below where files are stored on source/files directory by some other process and I wouldn't know the file name. My camel app will read any file name from the directory. While doing this, it utilizes flatpack Fixed length component to parse file content and routes it to be

File Component - directory name changes based on environment location.

2010-08-06 Thread vcheruvu
Hi, I am using below config to read files from specific directory.

ApplicationContextTestSupport class not found in Camel 2.3

2010-08-12 Thread vcheruvu
Hi, I am looking at Camel-Mock component site. According to the spring example comments, I believe it is out of date for Camel 2.0+ versions. I haven't been able to follow your example with Camel 2.3 version. Could you please let me know if you could update the example that works with Camel 2.3

Re: Java heap space issue with reading large CSV file

2010-08-18 Thread vcheruvu
I have created the JIRA for this issue. https://issues.apache.org/activemq/browse/CAMEL-3060 I remember I have set my log4j logging to INFO level. I will check my log4j config again ensure it is not in DEBUG level and see if I could get around it. Thanks, -Vid- -- View this message in context

Re: Java heap space issue with reading large CSV file

2010-08-18 Thread vcheruvu
I have changed my logging level to INFO but it didn't solve memory issue. I have turned on JConsole noticed that, memory shoots up to 1.05GB when Camel reads in 218K lines, 45 MB file and then throws heap memory issue with Jconsole RMI which is trying to get memory info of the application. I am

missing commons-csv jar file

2010-08-24 Thread vcheruvu
Hi, I am using Maven to download transitive jar files for camel-csv I cannot find apache commons-csv version 1.0r-706899 in the ibiblio repository of http://people.apache.org/repo/m2-ibiblio-rsync-repository/ site under org.apache.commons group. I cannot find the jar in the http://mvnrepository.

Camel-QuickFIX jar issues

2010-08-24 Thread vcheruvu
Hi, I have come across another issue with Jar dependency in Camel. I am exploring Camel-QuickFix component. I realized that Maven is unable to download Quickfix-all jar file from Jarvana. I have come to know that Jarvana or other ibiblio repository do not have quickfix jar files. Any idea what i

Camel shutdown on windows

2010-08-26 Thread vcheruvu
Hi, My application runs on windows through Eclipse IDE. It calls org.apache.camel.spring.Main class to start the application. When I shutdown the application through the stop button, I do not see any shutdown messages from Camel on Eclipse console. So, I have placed breakpoints in many places in

Re: Camel shutdown on windows

2010-08-27 Thread vcheruvu
I did bit of investigation at eclipse side and noticed that Eclipse only invokes terminate and doesn't call Ctr C equivalent shutdown. There is an existing bug in eclipse as shown below which won't be fixed. https://bugs.eclipse.org/bugs/show_bug.cgi?id=38016 So, i have found a way to initiat

Re: Camel-QuickFIX jar issues

2010-08-31 Thread vcheruvu
Hi Hadrian, Have you got any response for my second question? Cheers, -Vid- -- View this message in context: http://camel.465427.n5.nabble.com/Camel-QuickFIX-jar-issues-tp2652022p2798739.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel-QuickFIX - JMX console to invoke quickfix server operations

2010-09-14 Thread vcheruvu
Hi, I have started Camel-QuickFix component as an acceptor. I have managed to send mock fix messages to the my Camel-Quickfix from FIX Simulator. Now I am trying to turn on JMX support for Camel-QuickFIX component. I went through the QuickFixAcceptor code and have not seen any code that enable J

Re: Camel-QuickFIX - JMX console to invoke quickfix server operations

2010-09-19 Thread vcheruvu
Hi Steve, I have been learning and getting my hands dirty with both Camel and Quickfix. It looks very promising and would like to run few test cases. Have you promoted your code to the Camel trunk yet? I haven't seen any of your JMX code in Camel-Quickfix component after reading earlier posts. Ha

Re: Camel-QuickFIX - JMX console to invoke quickfix server operations

2010-09-21 Thread vcheruvu
Steve and Hadrian, Thank you for quick responses. Camel and Quickfix are promising combination for developing apps. I am looking forward to apply your changes for performance testing in my environment. I will share my performance results with you guys. Kind regards, -Vid- -- View this message i

Camel-quickfix logging

2010-11-03 Thread vcheruvu
Hi, I am using Camel-quickfix 2.5. I have set my log4j setting to write to file. Yet, i am seeing camel-quickfix logging to my console as shown below. I am trying to ensure below logging are written to file instead to my console. I have pasted my log4j setting below as well. Could you please adv

Re: Camel-quickfix logging

2010-11-04 Thread vcheruvu
Hmm log4j.properties file is weak compared to log4j.xml. The properties file does not support some advanced configuration options like Filters, custom ErrorHandlers and a special type of appenders, i.e. AsyncAppender. ErrorHandlers defines how errors in log4j itself are handled, for example badly

Re: Camel-quickfix logging

2010-11-08 Thread vcheruvu
Thanks Steve. I look forward to your new patch. what is the issue link for this patch , so that i can have look at the changes that you will promote this weekend. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-quickfix-logging-tp3249378p3256092.html Sent from the Camel

Re: Camel-quickfix logging

2010-11-09 Thread vcheruvu
Camel Riders, Any thoughts to my second question on utilizing Camel property placeholder for Quickfixj component's config files.I believe it will simplify config file management and centralize all the environment specific values. Kind regards, -Vid- -- View this message in context: http://

Re: Multiple JPA Consumers

2010-11-15 Thread vcheruvu
I have solved your issue by having stored procedure to return the records. This stored procedure use select for update with row lock. When JPA consumer calls the stored procedures it will guarantee to call next set of records rather than the records that have been locked by other JPA consumer. It

Camel-QuickFIXJ - Proxool jar dependencies issues

2010-11-18 Thread vcheruvu
Hi, I have configured quickfixj to use jdbc store to persist FIX messages. I have come to know that Proxool dependency jar files are missing in the fuse repository. Is it possible to add the proxool dependencies in Fuse repo? Kind regards, -Vid- -- View this message in context: http://camel

Re: Camel-QuickFIXJ - Proxool jar dependency issues

2010-11-21 Thread vcheruvu
Latest version of proxool is 0.9.1. Public repository do not have latest version. So, I am wondering if latest proxool jar files could uploaded on Fuse or Apache repo. http://proxool.sourceforge.net/ -- View this message in context: http://camel.465427.n5.nabble.com/Camel-QuickFIXJ-Proxool-jar

Re: Camel-QuickFIXJ - Proxool jar dependency issues

2010-11-22 Thread vcheruvu
Thanks Claus, only dependency for Quickfixj jdbc store mode are Proxool 0.9.1 & Proxool-CGI 0.9.1. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-QuickFIXJ-Proxool-jar-dependency-issues-tp3271906p3276055.html Sent from the Camel - Users mailing list archive at Nabble.

Camel 3.0 release

2010-12-27 Thread vcheruvu
Hi, When can we expect to see Camel 3.0 release? I am hoping to see Camel using more of Java EE 6 features, I.E. JSR 330. I am wondering, is it possible to specify the routes in beans.xml(CDI configuration) instead of Spring based xml configuration? Some end users might not have Spring as defacto

Re: Camel (2.5) Multicast Component - Body References, Concurrency & Copying

2011-01-13 Thread vcheruvu
For 1, I checked in the Camel book to see how i can define parrelelProcessing for multicast in Spring DSL. I do not see an example to specify parallelProcessing in Spring DSL. Is it only available in Java DSL? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-5-Multicas

Router logic

2010-01-04 Thread vcheruvu
Hi, I am trying to figure out if Camel can be used to achieve below scenario 1 . Poll each row updates from tables , mark if row processing successful other wise mark as unread or Error if processing failed. This row processing is marked completed only if it has completed 1,2 ,3 and 4. 2. tra

@Consumed

2010-01-05 Thread vcheruvu
Hi Camel-Users, Can anyone give any hints on using @Consumed annotation. I have written a sample application where 1. Polling JPAConsumer endpoint gets new record 2. Message translation using Bean Integration to invoke the method. 3. Work in progress - I am trying to figure out how to use @Cons

Re: @Consumed

2010-01-06 Thread vcheruvu
I have figured it out how to use @Consumed after reading the JpaConsumer class in the camel source. 1) I have added processed field in the table with default 0, which will be used to check if the record is processed or not. 2) added update method in the OldTableEntity and added @Consumed annota

Performance - Camel JPA

2010-02-01 Thread vcheruvu
I have written an application using camel-jpa to extract batch of 10,000 records from old table, transform each entity object(25 fields) to another entity object(15 fields) and persist to new table using JpaProducer. I have given 1Gb memory when starting the application. I have noticed it takes

Re: Performance - Camel JPA

2010-02-03 Thread vcheruvu
We needed near realtime to extract data from old table and persist in new table in different database for downstream processing. So we are using camel and java as solution to get something going for now. Yes using direct jdbc is ideal. However I still have to map rows to an object. I thought i w

Maven repository

2010-02-16 Thread vcheruvu
Hi, We are using Archiva repository to locally store all the jars needed for projects. Archiva can automatically download jars from http://mvnrepository.com/ when there are jar files not found in the archiva repo. So, I have tried to run camel:dot and we are unable to download org.springframewor

Re: Maven repository

2010-02-17 Thread vcheruvu
g 3.0.0.RELEASE. > > So upgrade to 2.2 and you should not have that old Spring JavaConfig > dependency anymore. > > > On Wed, Feb 17, 2010 at 5:29 AM, vcheruvu > wrote: >> >> Hi, >> >> We are using Archiva repository to locally store all the jars

Camel JPA parameters - userFixedDelay issue

2010-02-23 Thread vcheruvu
Hi, I am using Camel JPA 2.2.0 to poll records every 3 seconds. I have added a userFixedDelay=true parameter in the URI and it keeps complaining it is not correct. I have checked your website and it has userFixedDelay option. I have tried different parameters as shown below. Any idea how to set u

Multiple JPA Consumers

2010-02-28 Thread vcheruvu
How can i define multiple JPA consumers in CAMEL? I have managed to create another camel context which is duplicate of below camelContext segment except id is named as camel2. This duplicate segment worked but i like to have a way where I can define number of consumers without having duplicate t

Re: Multiple JPA Consumers

2010-03-01 Thread vcheruvu
sumers on the > same JPA endpoint? > > eg you want this one: > jpa:com.MyEntity?consumer.namedQuery=pollRecords&consumeDelete=false&delay=3000 > > To have concurrent threads processing it? > If not what are you talking about? > > > > On Mon, Mar

Re: Multiple JPA Consumers

2010-03-01 Thread vcheruvu
they want to maximize throughput. Claus Ibsen-2 wrote: > > On Mon, Mar 1, 2010 at 11:43 PM, vcheruvu > wrote: >> >> Apologies, I did not clearly explain in the previous post. >> >> Basically I am trying to see how can I can have  multiple consumers at >> s

Re: Multiple JPA Consumers

2010-03-01 Thread vcheruvu
I will use DSL and get away from Spring config. I am not fussy with how I define the route in DSL or Spring config. Thanks for quick response mate.. Claus Ibsen-2 wrote: > > On Tue, Mar 2, 2010 at 7:41 AM, vcheruvu > wrote: >> >> can jdbc or ibatis endpoint have mult

Fail over support

2010-03-08 Thread vcheruvu
Hi, I have primary camel server running which can read in data from various sources, transform data and then write to new datastore. I am trying to figure out how I can implement fail over support if primary camel server dies for some reason and secondary server should start reading from variou

SEDA implementation

2010-04-07 Thread vcheruvu
Hi, I came across site about SEDA implementation, http://www.eecs.harvard.edu/~mdw/proj/seda/ . Does camel SEDA component follow this model? If it does, author stated that "It is also worth noting that a number of recent research papers have demonstrated that the SEDA prototype (in Java) perform

Re: SEDA implementation

2010-04-09 Thread vcheruvu
Thanks for quick reply. After reading the SEDA component source and reading the article (http://www.eecs.harvard.edu/~mdw/papers/seda-sosp01.pdf) thoroughly, gave me some understanding about Staging concept. Nice work Camel team, it is quiet easy to understand Seda code in Camel.. -- View this

JPA component - EntityManagerFactory issue

2010-04-13 Thread vcheruvu
Hi, In my project, I am using JPA and using Hibernate vendor to poll tables. Please see my config below. I am trying to setup multiple persiste http://old.nabble.com/file/p28237771/trace-jpa.txt trace-jpa.txt nce.xml file in my project. ...

Re: JPA component - EntityManagerFactory issue

2010-04-13 Thread vcheruvu
gt; > On Wed, Apr 14, 2010 at 4:34 AM, vcheruvu > wrote: >> >> Hi, >> >> In my project, I am using JPA and using Hibernate vendor to poll tables. >> Please see my config below.  I am trying to setup multiple persiste >> http://old.nab

Camel 2.11.1 - SedaComponent issues with Queue size

2013-08-29 Thread vcheruvu
Hi , I am getting strange error with queue when our applications write objects to VM queue. Occasionally I am seeing below error. It is strange that we can clearly see in the error message below that queue size value match. Any idea why it is failing? Caused by: java.lang.IllegalArgumentExce

Re: Camel 2.11.1 - SedaComponent issues with Queue size

2013-08-30 Thread vcheruvu
Doh! It is an Integer object !! .. Allright, I will check out the source using Git and apply patch. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-11-1-SedaComponent-issues-with-Queue-size-tp5738258p5738265.html Sent from the Camel - Users mailing list archive at Na

Re: clone camel 2.11.x branch

2013-09-03 Thread vcheruvu
Hi Christian, I have followed your command examples to check out Camel 2.11.x source code. Unfortunately I am unable to check out with errors as shown below. I am running in win 7 with cmd prompt. Will your instructions work for windows cmd. Please advise how I could check out source code? C:

Re: clone camel 2.11.x branch

2013-09-03 Thread vcheruvu
I have tried your suggestion. I am experiencing same issue. C:\vid\apps>git clone http://git-wip-us.apache.org/repos/asf/camel.git Cloning into 'camel'... fatal: unable to access 'http://git-wip-us.apache.org/repos/asf/camel.git/': Failed connect to git-wip-us.apache.org:80; No error -- View

Camel-Quickfixj 2.9.3 - Ordering issue

2013-01-30 Thread vcheruvu
Hello Camel Riders, I have used Camel-Quickfixj component in our application to consume and publish fix messages. Our application consumes FIX 4.2 messages from VM queue with 10 concurrent consumers. Each consumer takes the FIX message of the VM queue, transforms the message to our internal FI

Re: Camel-Quickfixj 2.9.3 - Ordering issue

2013-02-03 Thread vcheruvu
Thanks, Christian. I have implemented Resequencer using the Quickfix fix object's sequence number and also added custom logic to preserve sequence number in exchange object when receiving fix messages from multilple FIX sessions. It works like a charm... cheers -- View this message in context:

Re: Quickfix component as initiator - How do I insert user and password to logon

2013-02-06 Thread vcheruvu
Hi, We have used login in our application. Example listed below using JAVA DSL. You will have to create another route that consumes Admin messages from quickfix engine and set credential injector. After that you can use "to("quickfix:receptor.cfg")" in any route to publish your fix message

Re: Quickfix component as initiator - How do I insert user and password to logon

2013-02-07 Thread vcheruvu
I agree with you, what I have is messy solution. However, I have seen cases where I had to customize logon messages with custom tags instead of default FIX protocol logon message . Hence this approach leaves room for users to implement their own custom logon messages and add user credentials. quic

Re: Camel (2.5) Multicast Component - Body References, Concurrency & Copying

2011-04-09 Thread vcheruvu
Is this feature only supported for Java DSL?If not do you have an example on how to use onPrepare in Spring DSL? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-5-Multicast-Component-Body-References-Concurrency-Copying-tp3339259p4293712.html Sent from the Camel - User

Re: Embedding Camel routes in a web Console

2011-04-18 Thread vcheruvu
Hi Claus, I have followed the camel web-console (http://camel.apache.org/web-console.html) web page that you mentioned in the previous post. As per the instructions on the web page, I cannot find the camel-web-standalone.jar file in the 2.7.1 zip file . Is the camel-webconsole webpage out of date

Camel-Cxf:unable to find wsdl

2011-04-19 Thread vcheruvu
HI, I have created a project that simply consumes soap messsage from cxf endpoint in a test class. I have created the following route in JAVA dsl and spring bean to define cxfendpoint as shown below. When I run the test class, I get an error that it has problem parsing ./bclearpapi-1.6.xsd due to

Re: Camel-Cxf:unable to find wsdl

2011-04-20 Thread vcheruvu
Hi Willem and Claus, The wsdl file is located in cxf\src\main\resources\META-INF\wsdl\ and named it bclearapi-1.6.wsdl. In cxf endpoint I have specified the wsdlURL path to "classpath:META-INF/wsdl/bclearapi-1.6.wsdl" . However when running the test class, CXF is looking for ./bclearapi-1.6.

Re: Camel-Cxf:unable to find wsdl

2011-04-20 Thread vcheruvu
Ah !! I overlooked the file extension differences.. sorry to waste your time.. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Cxf-unable-to-find-wsdl-tp4315065p4329756.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Re: Translate FIX message to HTTP request

2011-07-19 Thread vcheruvu
would you mind showing the details of config.cfg. I believe there is some config issue in your end that you need to specify somethig like below statement. Also, If you can show me the stack trace of your null pointer, then it could help me to see where and how you are experiencing the issue. to(

JMX- queue size operation fails - Camel 2.9.0

2012-01-23 Thread vcheruvu
Hi Camel team, I have JMX console setup for VM endpoint. In Camel 2.8.3 version, i can see the queue size of VM endpoint. However in Camel 2.9.0 version, queue size operation through jmx gui console throws an error. Please see the screen shot that i have attached to this post. Is there some an iss

Re: JMX- queue size operation fails - Camel 2.9.0

2012-01-24 Thread vcheruvu
Hi Babak, Thank you for confirming the issue. I have raised a JIRA ticket as requested. Just out of curiosity is it possible to add TDD test case for ManagedBrowsableEndpoint? I do not see test classes for ManagedBrowsableEndpoint in the Camel trunk. I have seen several posts on Camel where JMX o

ProducerTemplate for sending mails with attachements

2012-03-29 Thread vcheruvu
Hi, I am using Camel-mail component to send emails out to clients for given byteOutputStream (content is html email) and imagesData in byte[] (image used in html content). ProducerTemplate.sendBodyandHeaders() has all the mail paramter details to send to client. However, I am not able to find a

Re: ProducerTemplate for sending mails with attachements

2012-04-01 Thread vcheruvu
Thanks Ashwin and Claus for valuable suggestions. I have applied your suggestion using Processor and Exchange. template.send(smtp://testServer@host.mailbank?&password=test123&contentType=text/html",ExchangePattern.InOnly, new EmailProcessor(to, from, byteArrayOutputStream, imagesData)); EmailP

Re: tcp socket client consumer endpoint?

2012-04-09 Thread vcheruvu
Hi Camel riders, I have tried tcp client consumer with camel-mina2 and confirmed that it doesn't support it yet. Will this feature be available in 2.10? Kind regards, -Vid- -- View this message in context: http://camel.465427.n5.nabble.com/tcp-socket-client-consumer-endpoint-tp3276804p562912

Re: tcp socket client consumer endpoint?

2012-04-10 Thread vcheruvu
Hi Chad, Currently, I have to implement a tcp client that connects to a remote host. The following things takes place between client and remote host 1. Once connected to remote host, client send login message with a custom message format converted into bytes over wire. Remote host will send su

Camel JMX - 2.9.2

2012-05-01 Thread vcheruvu
Hi Camel riders, I have been reading up on Camel JMX and learnt that Spring JMX annotations are no longer required. So, below are camel JMX annotations org.apache.camel.api.management.ManagedOperation; org.apache.camel.api.management.ManagedResource; org.apache.camel.api.management.ManagedAttr

Re: Camel JMX - 2.9.2

2012-05-03 Thread vcheruvu
Ah..k.. I thought you will need ManagedOperationParameters for operations that take parameters. Unlike Spring JMX, it is less verbose. I realised in the SedaEnpoint code i have seen JMX annotations. I should have figured it out from that... Thanks for responsding to my query.. -- View this messag

unable to see my @ManagedOperation in Jconsole

2012-07-12 Thread vcheruvu
Hi, I have followed the instruction on JMX stuff l http://camel.apache.org/why-is-my-processor-not-showing-up-in-jconsole.html http://camel.apache.org/why-is-my-processor-not-showing-up-in-jconsole.html I have not been able to see TestJmxEndpoint class registered in the JMX container. Below