CXF endpoint - No service was found issue

2009-02-20 Thread Sriram C
I am trying to create a CXF endpoint using Spring DSL. My endpoint and route definitions are as follow: http://localhost:8080/SFServices/services/account"; wsdlURL="classpath:accountOutboundMessage.wsdl" serviceClass="com.mypackage.service.NotificationPort"

Re: Newbie Question #2: Transactional Client

2009-02-20 Thread Tristan Koen
I thought that calling conn.rollback() would sort out the DB side and the thrown SQL exception would sort out the JMS side. I am clearly missing something rather important here, so I will take your advice and spend some time looking into Spring. On Fri, Feb 20, 2009 at 7:26 PM, Claus Ibsen wr

Re: How to close Mina session ?

2009-02-20 Thread Claus Ibsen
On Fri, Feb 20, 2009 at 5:12 PM, Nicolas Bouillon wrote: > Thank you very much for the patch, and for the velocity ! You are welcome. Thanks for reporting. If you can test it that would be great. See download page how to use 1.6.1-SNAPSHOT version. eg = Apache SNAPSHOT maven repo and all that st

Re: Newbie Question #2: Transactional Client

2009-02-20 Thread Claus Ibsen
Hi Well you gotta get some TX manager in the mix. Otherwise how would you ensure that the JMS and DB participates in the same transaction? Of couse the Camel JMS consumer will be able to rollback if there is an exception thrown, but that does still not ensure that the JMS and DB are managed in th

Newbie Question #2: Transactional Client

2009-02-20 Thread Tristan Koen
I think I am starting to get the hang of Camel now. I have, however, run into one more problem that I would like some advice on. I have already read through the "Transactional Client" documentation page before anyone asks. More on that later :) My scenario is very simple. I have the following (si

Re: How to close Mina session ?

2009-02-20 Thread Nicolas Bouillon
Thank you very much for the patch, and for the velocity ! Best regards On Fri, Feb 20, 2009 at 16:12, Claus Ibsen wrote: > Ah yeah the UnitOfWork works on the processing of the exchange. So it > completes just as MinaConsumer will write the reponse back to the > client. > > I have commited a n

Newbie Question #2: Transactional Client

2009-02-20 Thread triswork
I think I am starting to get the hang of Camel now. I have, however, run into one more problem that I would like some advice on. I have already read through the "Transactional Client" documentation page before anyone asks. More on that later :) My scenario is very simple. I have the following (s

Re: How to close Mina session ?

2009-02-20 Thread Claus Ibsen
Ah yeah the UnitOfWork works on the processing of the exchange. So it completes just as MinaConsumer will write the reponse back to the client. I have commited a new feature into the next version in Camel. I am afraid I can not see an easy workaround. You can now set this special header and Came

Re: How to close Mina session ?

2009-02-20 Thread Nicolas Bouillon
Claus, Thanks for the tip. Howerver, it dones't seem to work. I have added the following code at the end of my process method : // add a hook to close the session after the exchange exchange.getUnitOfWork().addSynchronization(new Synchronization() { @Override

Re: FileConsumer ERROR,RejectedExecutionException (from file to jms)

2009-02-20 Thread Claus Ibsen
Hi Strange however you are using transactedInOut=true. That should generally not be used. Try removing it. On Fri, Feb 20, 2009 at 12:37 PM, jden wrote: > > Hello! > I use Camel 1.6 in the scheme: "From file to jms and from jms to file". > I have pdf file that being serialized and writed to qu

FileConsumer ERROR,RejectedExecutionException (from file to jms)

2009-02-20 Thread jden
Hello! I use Camel 1.6 in the scheme: "From file to jms and from jms to file". I have pdf file that being serialized and writed to queue. Every pdf file size is 1mb. If total count of files is 10-15 files, then all works fine.If files count bigger than 20 files than i get error: [nent.file.

Re: How to close Mina session ?

2009-02-20 Thread Claus Ibsen
On Fri, Feb 20, 2009 at 12:13 PM, Nicolas Bouillon wrote: > I've created the JIRA issue CAMEL-1362 > https://issues.apache.org/activemq/browse/CAMEL-1362 > > In the meanwhile, do you have any workaround hint ? You can use the Synchronization hooks on the UnitOfWork Then you need to route with a p

Re: JMS Exception

2009-02-20 Thread onofre
Hi Nivi, is it possible to get a XML input sample ? Regards JB On Friday 20 February 2009 - 12:42, Nivetha Shri wrote: > Hi All > > Am getting the following exception when i send an xml message to a output > queue using apache camel and servicemix. > > My xml is a valid one > > Here is the st

Re: How to close Mina session ?

2009-02-20 Thread Nicolas Bouillon
I've created the JIRA issue CAMEL-1362 https://issues.apache.org/activemq/browse/CAMEL-1362 In the meanwhile, do you have any workaround hint ? On Fri, Feb 20, 2009 at 11:52, Claus Ibsen wrote: > Hi > > I dont think you currently can both CLOSE a session and return a > response when sync=true.

Re: How to close Mina session ?

2009-02-20 Thread Claus Ibsen
Hi I dont think you currently can both CLOSE a session and return a response when sync=true. Could you file a JIRA request for this? http://camel.apache.org/support.html We could introduce some special header you can add to the Message so Camel knows that it should close the session when its fin

How to close Mina session ?

2009-02-20 Thread Nicolas Bouillon
Hi, I'm new to Apache Camel and Mina. I'm writing a simple tcp sever and i'm facing a problem : i don't know how to close a Mina Endpoint Session. I use Camel 1.5.0 (available at maven official repository) The workflow is : the client send a "Logout" command, then the server says "Bye" and the _s

Re: ActiveMQ DLQ

2009-02-20 Thread pevgen
Ashwin, thank you very much ! It's really works :) Evgeny Ashwin Karpe wrote: > > Hi, > > Please check out this link dealing with exception handling. This area has > been substantially revamped in Camel 1.5.x.x. It should answer all of your > questions > > http://camel.apache.org/exception-