cxf spring configuration (camel 1.5.0)

2009-01-23 Thread pevgen
Hello. I try to configurate a cxf-endpoint in a spring config. But i got error "org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'serviceEndpoint' must be of type [org.apache.camel.Endpoint], but was actually of type [org.apache.camel.component.cxf.spring.CxfEndpointB

Re: cxf spring configuration (camel 1.5.0)

2009-01-26 Thread pevgen
Willem, thank you for your response. Evgeny -- View this message in context: http://www.nabble.com/cxf-spring-configuration-%28camel-1.5.0%29-tp21627432s22882p21661767.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: trouble with a http body in my processor

2009-01-28 Thread pevgen
pevgen wrote: > > Hello, all. > > I wrote a route into my spring-config file : > > > > > http://activemq.apache.org/camel/schema/spring"; > id="camel"> > > > > > > http://localhost:8889/app"/> > &

content router question

2009-02-09 Thread pevgen
Hello. How can I create a "content router", if I want to analize a string message body. i try to explain my wish by java-like example : String messageBody = "test 1"; if (messageBody.indexOf("1")>=0) then ... messageBody will be sent to an "Endpoint1" else ...messageBody will be sent to an "Endp

Re: content router question

2009-02-11 Thread pevgen
Thank you, Julien. I didn't read Camel guide attentive :( Evgeny -- View this message in context: http://www.nabble.com/content-router-question-tp21916527s22882p21950592.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: content router question

2009-02-12 Thread pevgen
).choice() >> .when().method("myBean", "bodyContainsOne").to("mock:x") >> .otherwise().to("mock:y"); >> >> where the bean looks like >> >> static class MyBean { >> public static boolean bodyContainsOn

File component : file don't move

2009-02-12 Thread pevgen
Hello. sometimes, but not each time, I got Exceptions : org.apache.camel.component.file.filecompon...@37165f] ERROR org.apache.camel.component.file.FileConsumer - Can not rename file from: C:\Temp\amqtest\in\1.txt to: C:\Temp\amqtest\in\.camel\1.txt java.io.IOException: Can not rename file fro

Re: File component : file don't move

2009-02-13 Thread pevgen
I found a strange decision of the problem. There are string messages in my files, and i can append '' after . In this case the route work. Evgeny pevgen wrote: > > Hello. > > sometimes, but not each time, I got Exceptions : > > org.apache.camel.component.file

Re: File component : file don't move

2009-02-13 Thread pevgen
I found a strange decision of the problem. There are string messages in my files, and i can append '' after . In this case the route work. and in-files move to backup directory. Evgeny pevgen wrote: > > Hello. > > sometimes, but not each

Splitter as JavaBean

2009-02-16 Thread pevgen
Hello. How can I write a class-spliiter ? and how can i use this class in my spring config ? I use camel 1.5 (because it's stable release). Thanks Evgeny -- View this message in context: http://www.nabble.com/Splitter-as-JavaBean-tp22034573s22882p22034573.html Sent from the Camel - Users maili

ActiveMQ DLQ

2009-02-18 Thread pevgen
Hi. How can i save a message in my special endpoint only, and not save this message in ActiveMQ.DLQ ? my route with in this configuration, i get my message (from "activemq:queue:in

ActiveMQ DLQ

2009-02-18 Thread pevgen
Hi. How can i save a message in my special endpoint only, and not save this message in ActiveMQ.DLQ ? my route with in this configuration, i get my message (from "activemq:queue:in

Re: ActiveMQ DLQ

2009-02-20 Thread pevgen
://camel.apache.org/exception-clause.html > http://camel.apache.org/exception-clause.html > > Hope this helps. > > Cheers, > > Ashwin... > > > pevgen wrote: >> >> Hi. >> How can i save a message in my special

jetty-component : many context paths

2009-03-12 Thread pevgen
Hello. How can i get a jetty-endpoint with many context paths ? for example, i want to get requests on http://localhost:1234/base/path1 and http://localhost:1234/base/path2. but 'path1' and 'path2' are runtime paths (from 1 to many :)). if i configured the endpoint as "jetty:http://localhost

Re: jetty-component : many context paths

2009-03-13 Thread pevgen
log.brunoborges.com.br > +55 21 76727099 > > "The glory of great men should always be > measured by the means they have used to > acquire it." > - Francois de La Rochefoucauld > Sent from: Rio de janeiro Rj Brazil. > > On Thu, Mar 12, 2009 at 1:32 PM, pevgen wrote: &

Re: jetty-component : many context paths

2009-03-16 Thread pevgen
jetty:http://localhost:1234/base/* will came to your >> jetty endpoint first. >> >> [1] http://camel.apache.org/jetty.html > Cool, I didnt know this feature. > > >> >> Willem >> >> >> pevgen wrote: >>> Thank you, Bruno. >>>

jetty-component : method GET

2009-03-27 Thread pevgen
Hello. I have a jetty-endpoint. for example : http://localhost:1234/base/"/> Can i get a query-string in the "myProcesor", if i send a message by method GET ? If i use the method POST, it work fine. But a message body have null inside, if i use the method GET. I use Camel 2.0-M1. Thank you,

jetty-component : deploy into Tomcat or other j2ee-server

2009-03-27 Thread pevgen
Hello. Can i deploy my http-consumer-endpoint (like jetty-endpoint) in Tomcat or other j2ee server ? Thank you. Evgeny -- View this message in context: http://www.nabble.com/jetty-component-%3A-deploy-into-Tomcat-or-other-j2ee-server-tp22743212p22743212.html Sent from the Camel - Users mailing

Re: jetty-component : method GET

2009-03-27 Thread pevgen
Thank you, Claus And can't i found GET query string in http-Exchange ? only as param=value in headers ? Claus Ibsen-2 wrote: > > On Fri, Mar 27, 2009 at 3:46 PM, pevgen wrote: >> >> Hello. >> >> I have a jetty-endpoint. >> for example : >>

Re: jetty-component : deploy into Tomcat or other j2ee-server

2009-03-27 Thread pevgen
Thank you. Of couse, i red this article. But i don't uderstand how i can listen on a jetty-http-endpoint in exaple's configuration ? Claus Ibsen-2 wrote: > > On Fri, Mar 27, 2009 at 3:48 PM, pevgen wrote: >> >> Hello. >> >> Can i deploy my http-co

multicast transaction

2009-05-06 Thread pevgen
Hi. I have a route like this : How can i send my message into the two "to" endpoints in one transaction ? Thanks, Evgeny -- View this message in context: http://www.nabble.com/multicast-transaction-tp23403184p23403184.h

stop CamelContext in main()

2009-05-07 Thread pevgen
Hello. I use camel-2.0-M1, and I have a spring configuration like this : http://camel.apache.org/schema/spring"; id="test"> and a method : public static void main() throws Exception { ApplicationContext context = new FileSystemXmlApplicationContext(new String

Re: stop CamelContext in main()

2009-05-07 Thread pevgen
ing > somewhere. > We have done some work on that but I cannot remember if that was > before 2.0m1 was released or after. > > > On Thu, May 7, 2009 at 1:30 PM, pevgen wrote: >> >> Hello. >> >> I use camel-2.0-M1, and I have a spring configuration like t