Confusion over the Jetty component documentation and maxThreads

2014-06-19 Thread nigel
#x27; and 'Component Options' are to be used differently. There is a spring xml sample further down the gave me the hint that I was doing it wrong ... Am I alone in this or could a sentence or two be added to the docs. Thanks Nigel -- View this message in context: http://camel.4

Re: How to do aggregation of multiple InOut exchanges from different producers

2013-10-21 Thread nigel
Exchange.GROUPED_EXCHANGE) List body) { return body; } } Is there a simpler way? And would these tricks work with the jetty component. I really like the SJMS component but it doesn't have the flexibility. Also in the above if there is an error then the messages are lost so I n

How to do aggregation of multiple InOut exchanges from different producers

2013-10-15 Thread nigel
t but the results don't go anywhere. Before I either dig deeper or give up I wondered if a guru out there could tell me if this is possible in Camel. Its very similar to examples but none of the ones I've looked at have the InOut pattern. Thanks Nigel -- View this message in context:

SJMS component doesnt convert GenricFile to a string but JMS does

2013-10-03 Thread nigel
try { Serializable payload = context.getTypeConverter().mandatoryConvertTo(Serializable.class, exchange, body); message.setObject(payload); I assume that the converter for GenericFile does some extra magic. Is there a workaround or am I missing a

Re: SJMS component and IBM Websphere MQ quirks

2013-10-01 Thread nigel
Ah - no I didn't - that's much neater. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/SJMS-component-and-IBM-Websphere-MQ-quirks-tp5740588p5740699.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: SJMS component and IBM Websphere MQ quirks

2013-09-30 Thread nigel
A workaround I'm using is to add a processor on the end of my pipeline to remove the JMS_IBM_MsgType property. When I do this Websphere is fine (uses a datagram type for the reply though - I guess I could set it explicitly to 2). eg: .process(new Processor() { @Override

SJMS component and IBM Websphere MQ quirks

2013-09-30 Thread nigel
ywhere. Is there an alternative approach. My other hack was to force the JMS_IBM_MsgType to 2 in the reply (which is what IBM wants it to be (http://publib.boulder.ibm.com/infocenter/wmqv7/v7r1/index.jsp?topic=%2Fcom.ibm.mq.msc.doc%2Fprp_jms_ibm_msgtype.html). Cheers Nigel BTW - I much prefer the sjm

Re: Creating then starting a JMS consumer around another component

2013-08-15 Thread nigel
e start a 'route' so that it registers the subscription but 'pause' it whilst we get the table? It seems like we might need three routes and some funky 'on/off' tap logic. I don't see an EIP that supports this. Nigel -- View this message in context: http://

Re: SJMS component and IBM WebsphereMQ class cast error

2013-08-15 Thread nigel
Created JIRA CAMEL-6641 and attached a patch -- View this message in context: http://camel.465427.n5.nabble.com/SJMS-component-and-IBM-WebsphereMQ-class-cast-error-tp5737010p5737345.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: SJMS component and IBM WebsphereMQ class cast error

2013-08-09 Thread nigel
Claus, Let me read up on how to provide a patch and I'll do so. I have another issue to double check first through - my consumer only ever seems to process the first message - then it goes deaf :(. Just need to check that out. Nigel From: Claus Ibsen-2 [via Camel] [mailto:ml

SJMS component and IBM WebsphereMQ class cast error

2013-08-08 Thread nigel
or IBM MQ. Any insights? Nigel -- View this message in context: http://camel.465427.n5.nabble.com/SJMS-component-and-IBM-WebsphereMQ-class-cast-error-tp5737010.html Sent from the Camel - Users mailing list archive at Nabble.com.