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

2010-09-15 Thread Bengt Rodehav
This is really great news Steve! It would be great to have a fully featured camel integration to QuickFix/J. The way the FIX protocol works, I think it's a perfect fit for camel routes and with my focus on financial industry this has great potential. Best regards, /Bengt 2010/9/16 Stephen Bat

Re: The delay option seems not to be working in CAMEL Java DSL mode

2010-09-15 Thread Claus Ibsen
Must be a problem in your end. I added unit test which works nicely http://svn.apache.org/viewvc?rev=997603&view=rev The delay option is set using a type converter String -> long, so you have something f up in your system if the type converters can't kick in and convert. But this is OSGi so y

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-15 Thread Bengt Rodehav
Willem, I ended up using my own wrapped version mostly for learning reasons. However, I had some problems with my wrapped version. I deployed it in the container but in runtime I got error messages saying that no default provider could be found. I then noticed that I hadn't exported the META-INF/s

Re: netty logging

2010-09-15 Thread Claus Ibsen
On Thu, Sep 16, 2010 at 3:56 AM, Sadanand Kusma wrote: > I would like to figure out if netty component is reusing connection object > when the second message needs to sent to the server. To see that I would like > to turn on netty's internal logging, How do I do that?. > I already tried log4j.ro

Re: CXF and Jetty endpoints to share same host and post

2010-09-15 Thread Scott Christopher
On 14/09/2010, at 11:53 AM, Willem Jiang wrote: > The servlet transport can meet your requirement. > CXF and Camel both have this kind of component. > You can find more information about Camel servlet transport here[1] > > [1]http://camel.apache.org/servlet.html Thanks Willem, this seems to be e

Re: GUI route builder

2010-09-15 Thread Hossein
I agree. IntelliJ IDEA is a great IDE. Make sure you also get the OSGi plugin; http://plugins.intellij.net/plugin/?idea&id=1816 -- Hossein -- View this message in context: http://camel.465427.n5.nabble.com/GUI-route-builder-tp2839315p2841666.html Sent from the Camel - Users mailing list archiv

netty logging

2010-09-15 Thread Sadanand Kusma
I would like to figure out if netty component is reusing connection object when the second message needs to sent to the server. To see that I would like to turn on netty's internal logging, How do I do that?. I already tried log4j.rootLogger=TRACE in log4j but it doesn't write any netty logs. A

netty logging

2010-09-15 Thread Sadanand Kusma
I would like to figure out if netty component is reusing connection object when the second message needs to sent to the server. To see that I would like to turn on netty's internal logging, How do I do that?. I already tried log4j.rootLogger=TRACE in log4j but it doesn't write any netty logs. Al

Re: Problem with protobuf example / Spring DSL to unmarshal to protobuf

2010-09-15 Thread Willem Jiang
Yes, you found a workaround method by using the bean definition. BTW, I already committed a patch in the trunk, please try it out when Camel 2.5.0 released. Willem On 9/15/10 8:16 PM, Marcel Jager wrote: Ok, thank you. I guess this will be fixed in 2.5, for now I use the following construction

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

2010-09-15 Thread Stephen Bate
Hello Bengt, I've started working with Hadrian to contribute updates to the QuickFIX/J component. After reading this thread, I've added the ability to export the QFJ JMX MBeans. The new component addresses some of the issues you've raised in JIRA. The component will infer which log and message st

Re: Apache Camel 2.5 Release inquiry

2010-09-15 Thread Hadrian Zbarcea
The short answer is yes, it will be released before Nov. Hadrian On Sep 15, 2010, at 12:55 PM, Claus Ibsen wrote: > On Wed, Sep 15, 2010 at 6:49 PM, kumaap wrote: >> >> Hi Just wondering when 2.5 will be released , will it be released before >> November ? > > Yes its being discussed at the Cam

Problem with Producer and Temporary Queue when Connection to Jms Server is lost

2010-09-15 Thread Christian Schneider
We had a problem with a request reply jms producer that uses a temporary queue for replies. The connection to the jms server was temporarily lost. The jms provider we use (Tibco EMS) first tries to do a reconnect to the same session. In our case the network was not available for more than the

Re: RecipientList and Message references

2010-09-15 Thread Claus Ibsen
On Wed, Sep 15, 2010 at 7:01 PM, WDS wrote: > A DefaultMessage with a simple pojo in body. > Oh course the pojo is the same because Camel cannot just clone your pojo. To do that your pojo must suppose Clonable, which normally isn't used very much in Java. > camel 2.2 and 2.3 > > On Wed, Sep 15,

Re: RecipientList and Message references

2010-09-15 Thread WDS
A DefaultMessage with a simple pojo in body. camel 2.2 and 2.3 On Wed, Sep 15, 2010 at 3:42 AM, Claus Ibsen wrote: > On Tue, Sep 14, 2010 at 7:55 PM, WDS wrote: >> If one recipient in the recipientList modifies the message body, each >> recipient sees the modified message. How to avoid this? >>

Re: Apache Camel 2.5 Release inquiry

2010-09-15 Thread Claus Ibsen
On Wed, Sep 15, 2010 at 6:49 PM, kumaap wrote: > > Hi Just wondering when 2.5 will be released , will it be released before > November ? Yes its being discussed at the Camel dev list http://camel.465427.n5.nabble.com/Camel-2-5-Starts-to-look-good-for-a-relese-td2739902.html#a2739902 > > Cheers

Apache Camel 2.5 Release inquiry

2010-09-15 Thread kumaap
Hi Just wondering when 2.5 will be released , will it be released before November ? Cheers Amitesh -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-2-5-Release-inquiry-tp2840982p2840982.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [TypConverter] How to retrive TypeConvert in a custom split method ?

2010-09-15 Thread Olivier.Roger
It's exactly what I needed, Thanks ! -- View this message in context: http://camel.465427.n5.nabble.com/TypConverter-How-to-retrive-TypeConvert-in-a-custom-split-method-tp2840819p2840833.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [TypConverter] How to retrive TypeConvert in a custom split method ?

2010-09-15 Thread Claus Ibsen
On Wed, Sep 15, 2010 at 5:15 PM, Olivier.Roger wrote: > > Hello Camel! > > I am using Camel 2.4. > I made a custom split strategy with a bean. > > In that strategy I need to perform some type convertion. Therefore I already > have @Converter registered. > Is it possible to obtain a reference to th

[TypConverter] How to retrive TypeConvert in a custom split method ?

2010-09-15 Thread Olivier.Roger
Hello Camel! I am using Camel 2.4. I made a custom split strategy with a bean. In that strategy I need to perform some type convertion. Therefore I already have @Converter registered. Is it possible to obtain a reference to the TypeConverter Object inside the split method ? If not, how could I

SEDA with waitForTaskToComplete=Never

2010-09-15 Thread lujan99
if I set waitForTaskToComplete=Never then when I receive a request-response how can I send a response to ReplyTo ?? I use 'never' because I don't want my concurrent-consumers are blocked. -- View this message in context: http://camel.465427.n5.nabble.com/SEDA-with-waitForTaskToComplete-Never-tp

Re: Problem with protobuf example / Spring DSL to unmarshal to protobuf

2010-09-15 Thread Marcel Jager
Ok, thank you. I guess this will be fixed in 2.5, for now I use the following construction: http://camel.apache.org/schema/spring";> Cheers, Marcel Jager On Tue, Sep 14, 2010 at 3:32 PM, Willem Jiang wrote: > Hi, > > I just c

Re: The delay option seems not to be working in CAMEL Java DSL mode

2010-09-15 Thread S. Ali Tokmen
Hello The problems occurs with CAMEL 2.2.0, 2.3.0 and 2.4.0; in OSGi mode. I have not tried other modes. Apparently it has always been occuring, but it has started being "visible" as we added the "disconnect" option (which started displaying the logs). Cheers S. Ali Tokmen savas-ali.tok.

Re: The delay option seems not to be working in CAMEL Java DSL mode

2010-09-15 Thread Claus Ibsen
Hi Could you at least remember to state which version of Camel! And also did it work in a previous version? Have you tried with newer versions? And have you tried from an unit test outside any container (especially OSGi containers). On Wed, Sep 15, 2010 at 11:58 AM, S. Ali Tokmen wrote: >  Hel

Re: camel aggregator 2.2 xpath based routing not working

2010-09-15 Thread alexcpn
I just printed out the body of the exchange in the camel aggregator and it is returning null ! I guess this is one reason why the xpath is not working during aggregation. Could this be a bug in camel 2.2 ? Here are two snippets; one just printing the expected body as is , and the second which ro

The delay option seems not to be working in CAMEL Java DSL mode

2010-09-15 Thread S. Ali Tokmen
Hello The route I'm currently interested in uses CAMEL in Java DSL mode. It basically copies files from an FTP server, hence the from clause: ftp://ca...@production26:21/ftproot/camel?password=camel&delay=6&binary=true&disconnect=true As a result, the delay is supposed to be 60 secon

Re: Importing routes from another file or camel context

2010-09-15 Thread Claus Ibsen
Answered at FuseSource forum http://fusesource.com/forums/thread.jspa?threadID=2239&tstart=0 On Wed, Sep 15, 2010 at 10:11 AM, Naira & Kobo wrote: > > Is it possible to import a file, which have routes definition or bean > definitions, into a camel application to be re-used. I am not sure there i

Re: [Converter] Generics ?

2010-09-15 Thread Olivier.Roger
Thanks for this information My route fairly simple actually since I am testing the custom converters: Message can contains any type of Payload, NotficationType is one of them. The bean showMsg method simple log t

Re: [Converter] Generics ?

2010-09-15 Thread Claus Ibsen
On Wed, Sep 15, 2010 at 10:06 AM, Claus Ibsen wrote: > On Wed, Sep 15, 2010 at 10:03 AM, Olivier.Roger wrote: >> >> You're right, I spoke too soon. sorry. >> >> The documentation mix streamCaching and streamCache on the same page (I >> suppose it changed on 2.0). >> However, event with streamCach

Importing routes from another file or camel context

2010-09-15 Thread Naira & Kobo
Is it possible to import a file, which have routes definition or bean definitions, into a camel application to be re-used. I am not sure there is something of this nature in camel, if there I will appreciate any pointer to how it can be easily achieved. This is something I just thought of and the

Re: [Converter] Generics ?

2010-09-15 Thread Claus Ibsen
On Wed, Sep 15, 2010 at 10:03 AM, Olivier.Roger wrote: > > You're right, I spoke too soon. sorry. > > The documentation mix streamCaching and streamCache on the same page (I > suppose it changed on 2.0). > However, event with streamCache="fasle", the route still attempt to convert > from my custom

Re: [Converter] Generics ?

2010-09-15 Thread Olivier.Roger
You're right, I spoke too soon. sorry. The documentation mix streamCaching and streamCache on the same page (I suppose it changed on 2.0). However, event with streamCache="fasle", the route still attempt to convert from my custom Type to StreamCache. I don't really see why it would do that if st

Re: Camel calling commit too early when using split+seda+file endpoint

2010-09-15 Thread Claus Ibsen
Added unit tests yesterday which the TC servers ran on various Windows platforms and reported the bug. I have fixed it on trunk now, so try with latest source code on your system. On Tue, Sep 14, 2010 at 5:53 PM, Claus Ibsen wrote: > Will take a look tomorrow on windows. > > > On Tue, Sep 14, 20

Re: [Converter] Generics ?

2010-09-15 Thread Claus Ibsen
Hi Please double check according to the documentation http://camel.apache.org/stream-caching.html The attribute is named streamCache in XML. Also the XSD contains the correct names etc. If you use a good editor it can assist you when editing XML files and help with auto completion and whatnot.

Re: [Converter] Generics ?

2010-09-15 Thread Olivier.Roger
Claus, FallbackConverter seems to be something that could work indeed. However, when I implement the my converter that way I get this error message: Caused by: java.lang.ClassCastException: com.bsb.docgen.xml.notification.impl.NotificationTypeImpl cannot be cast to org.apache.camel.StreamCache

Re: RecipientList and Message references

2010-09-15 Thread Claus Ibsen
On Tue, Sep 14, 2010 at 7:55 PM, WDS wrote: > If one recipient in the recipientList modifies the message body, each > recipient sees the modified message. How to avoid this? > What kind of message body do you have? And what version of Camel are you using? > > THANKS! > -- Claus Ibsen Apache