Re: Camel and XmlBeans

2011-09-05 Thread nizhnegorskiy
I'm sorry, it's OK. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-and-XmlBeans-tp4769868p4770626.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel and XmlBeans

2011-09-05 Thread nizhnegorskiy
Yes, i can, but it doesn't work. theOutPutFile does not appear... -- View this message in context: http://camel.465427.n5.nabble.com/Camel-and-XmlBeans-tp4769868p4770463.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel and XmlBeans

2011-09-05 Thread nizhnegorskiy
Hi! I have an XML file, XSD and JAR-file (scomp -out Schema.jar ~/Desktop/Schema.xsd) and I need to do the following: 1. open this file in data/inbox 2. deserialize it to objects from Schema.jar 3. make some changes 4. save it to annother XML file in data/outbox Now I have something like this: from

using enums...

2011-08-01 Thread nizhnegorskiy
Hi, Can you tell me please, how do I use enum with Camel? F.e. I have something like this: public class Profile{ public ArrayList daypart_targets; public enum Days { MONDAY("monday"), TUESDAY("tuesday"); private Days

Re: How do I authenticate with Camel?

2011-07-18 Thread nizhnegorskiy
Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/How-do-I-authenticate-with-Camel-tp4590064p4599426.html Sent from the Camel - Users mailing list archive at Nabble.com.

How do I authenticate with Camel?

2011-07-15 Thread nizhnegorskiy
I need to send a POST request with token. Something like this: curl -H "Authorization: [token]" -X POST --data-binary @filename.json 'http://myhost.com/someurl' I have the following code: context.addRoutes(new RouteBuilder() { public void configure() {