Bindy CSV not Marshaling

2010-05-29 Thread Nick Heudecker
Are there known issues with Bindy and marshaling POJOs to CSV? I followed the example and my objects aren't getting past the marshal(...) step with data. I'm getting a zero-length byte[] in the exchange after the marshal(...) step. What am I missing?

Re: Bindy CSV not Marshaling

2010-05-30 Thread Nick Heudecker
x27;t support Booleans or booleans. On Sun, May 30, 2010 at 1:57 AM, Claus Ibsen wrote: > On Sun, May 30, 2010 at 5:30 AM, Nick Heudecker > wrote: > > Are there known issues with Bindy and marshaling POJOs to CSV? I > followed > > the example and my objects aren't get

Re: Bindy CSV not Marshaling

2010-05-31 Thread Nick Heudecker
> How do you want to map booleans? I have never seen any CSV file with > "true" or "false" as values. > You most likely need to define a custom mapping scheme. Such as "Y" = > true, "N" = false etc. > And so you can use String type and add a isXXX boolean method yourself > in the bean. > > Having a

Reading Binary Files and Passing to HTTP Component

2010-06-19 Thread Nick Heudecker
I have the following route: from("file:{{data.dir}}/query-logs/?initialDelay=600&delete=true&delay=3") .setHeader(Exchange.HTTP_METHOD, constant(HttpMethods.POST)) .setHeader(Exchange.CONTENT_TYPE, constant("multipart/form-data")) .to("http:properties:{{lice

Re: Reading Binary Files and Passing to HTTP Component

2010-06-19 Thread Nick Heudecker
Thanks for the prompt response. I'm working on the patch now. On Sat, Jun 19, 2010 at 2:46 AM, Claus Ibsen wrote: > On Sat, Jun 19, 2010 at 9:58 AM, Willem Jiang > wrote: > > Hi, > > > > I don't think current camel-http support the multipart/form-data out of > box, > > as the HttpProducer will

Re: Reading Binary Files and Passing to HTTP Component

2010-06-20 Thread Nick Heudecker
https://issues.apache.org/activemq/browse/CAMEL-2833 Patch included. On Sat, Jun 19, 2010 at 2:46 AM, Claus Ibsen wrote: > On Sat, Jun 19, 2010 at 9:58 AM, Willem Jiang > wrote: > > Hi, > > > > I don't think current camel-http support the multipart/form-data out of > box, > > as the HttpProduc

Re: ActiveMQ ?query='..' URI parameter not accepted

2011-01-11 Thread Nick Heudecker
I recently ran into this problem with the 'consumer.exclusive' parameter. The solution was to define a JmsEndpoint in my Spring context and use that in the route. On Tue, Jan 11, 2011 at 6:20 PM, Barry Kaplan wrote: > > Looking at the jms and activemq docs (haven't yet looked at the code) it >

Re: ActiveMQ ?query='..' URI parameter not accepted

2011-01-12 Thread Nick Heudecker
Claus: Here's an old thread that discusses some of the options unsupported by Camel: http://www.mail-archive.com/camel-user@activemq.apache.org/msg04643.html I was specifically going for consumer.exclusive, but there are other parameters that cause problems, as Barry points out.

Cannot locate BeanDefinitionParser for element [template]

2009-08-04 Thread Nick Heudecker
nding resource: class path resource [applicationContext-camel.xml] Here's the bit of config it's complaining about: I'm running off of the latest 2.0-SNAPSHOT. Thanks in advance for any help. -- Nick Heudecker Professional Wicket Training & Consulting http://www.systemmobile.com

Re: Cannot locate BeanDefinitionParser for element [template]

2009-08-04 Thread Nick Heudecker
gt; > > > On Tue, Aug 4, 2009 at 9:16 PM, Claus Ibsen wrote: > > Hi > > > > Put inside the tag, that is > > they way its supposed to be configured. > > > > > > On Tue, Aug 4, 2009 at 9:14 PM, Nick Heudecker > wrote: > >> Possibly a fol

Null response calling route

2009-02-13 Thread Nick Heudecker
Hi, I'm using camel 2.0 snapshot and trying to get a response back from the first condition in the following choice(): from(JMS_JIS) .choice() .when().xpath("/jis:ListSupportedFeaturesRequest", cisNamespace) .unmarshal("camelJaxbDataFormat")

Re: Null response calling route

2009-02-14 Thread Nick Heudecker
f, to ensure the other parts is working okay. So its only the > JMS reqeust-reply that is not working. > > BTW: We just recently added a new DSL enrich() for the content > enricher EIP pattern: > http://camel.apache.org/content-enricher.html > > > > > On Sat, Feb 14,

ZooKeeper Component Failover

2012-02-06 Thread Nick Heudecker
Hi, How do I structure the ZooKeeper URL for failover? Is this functionality currently supported? Thanks for your time. -Nick