Event driven producer?

2015-04-08 Thread Christopher Piggott
Does the idea of an 'event driven producer' make sense? One that receives messages/exchange but doesn't necessarily produce one for every input? My input comes in as bytes that need to be assembled. A DefaultProducer seems t have a process() which produces messages 1;1 which is not what I need.

Re: @UriPath and @UriSyntax

2015-04-07 Thread Christopher Piggott
/com/autofrog/camel/JsscEndpoint.java>* --Chris On Tue, Apr 7, 2015 at 10:59 AM, Claus Ibsen wrote: > A component must have a default no-arg constructor. > > So add that, and call super(JsscEndpoint.class) and remove the other > constructors as they are not really needed. >

Re: @UriPath and @UriSyntax

2015-04-07 Thread Christopher Piggott
#L217 > > Then you do the same as all the components in Apache Camel. > > On Tue, Apr 7, 2015 at 3:34 PM, Claus Ibsen wrote: > > Hi > > > > All the 150+ components is an example of this. Just pick a similar / > > simple component and see its source code. > >

@UriPath and @UriSyntax

2015-04-07 Thread Christopher Piggott
Hi, According to https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.15.0+Release - Custom components using @UriEndpoint must now include a syntax attribute to document the uri syntax of the endpoint, when using the apt compiler plugin to generate documentation. I'm looking for

Multiple outputs from a custom component

2015-04-06 Thread Christopher Piggott
I have been reading mailing lists and forums trying to figure this out but haven't really come up with a clean solution. I have a zigbee ZCL component I wrote for Camel that parses out a few ZCL/ZDO messages. One of them is an attributes report, which contains a list of attributes, each with: -

Re: XMPP 2.15.0 vs. 2.15.1 failing

2015-04-03 Thread Christopher Piggott
amel-xmpp 2.15.0 and > 2.15.1 and also about any JAR upgrades. > The best clue would be in any of those changes. > > On Fri, Apr 3, 2015 at 12:18 PM, Christopher Piggott > wrote: > > Hi, > > > > Earlier this evening I upgraded my camel project from 2.15.0 to 2.15.1

XMPP 2.15.0 vs. 2.15.1 failing

2015-04-03 Thread Christopher Piggott
Hi, Earlier this evening I upgraded my camel project from 2.15.0 to 2.15.1 with no other code changes, and suddenly I was unable to connect to my XMPP server. The error I got was roughly this: "SASLauthentication failed using mechanism DIGEST-MD5:" I did some brief troubleshooting but was not a

Proper way to use velocity formatters like NumberTool

2014-02-16 Thread Christopher Piggott
Hi, What's the proper way to use formatters in a camel-velocity template if you are NOT using injection (e.g. spring or guice)? I have seem a few examples including one where an instance of NumberTool is passed through the headers. Seemed very hacky to me, it seems like there must be a cleaner m