Thanks.
lekkie wrote:
>
> I have a custom aggregator set up. The custom aggregator combines the
> exchanges of an old and new one and returns them as one.
>
> However, when I log the old exchange to the ESB log file, it returns null.
>
> See my snippet below
>
> .
>
>
>
>
Hi
Do you send directly to the endpoint of your custom component?
Custom OnCompletion is triggered when you use a route.
On Thu, Jan 21, 2010 at 4:30 PM, SwenVogel wrote:
>
> Hi,
>
> i created a customer jetty security handler and configured the spring
> configuration file accordingly.
> In th
Hi
Get the attention of Charles Moulliard as he works on that component
and with FIX etc.
On Thu, Jan 21, 2010 at 12:03 PM, beat glattfelder wrote:
>
> Hey camel riders
>
> I have tried the PassivefixGateway example in the test source, but it did
> not behave as expected. Though it's supposed r
Hi,
I want to combine messages from 2 different exchanges into a single
exchange, from the EIP patterns aggregation strategy seems to be right
pattern to use.
However, after reading the doc (http://camel.apache.org/aggregator.html), I
followed the instructns but my aggregation strategy only retu
Hi,
i use the send() method of the producer template, like in the code snippet
from the first post.
Means "Custom OnCompletion is triggered when you use a route." that when
i use a standard component for example "file" that the
GenericFileOnCompletion is triggered?
I thought that a component is
On Fri, Jan 22, 2010 at 10:29 AM, SwenVogel wrote:
>
> Hi,
>
> i use the send() method of the producer template, like in the code snippet
> from the first post.
>
> Means "Custom OnCompletion is triggered when you use a route." that when
> i use a standard component for example "file" that the
> G
Thank you for reply.
Next try,
using Apache Camel camel-2.2-SNAPSHOT and Spring,
route: File -> Processor -> (cxf) -> Log
When ...
/_work/test/from/1.txt
If I run test case, 1.txt file was moved to
/_work/test/backup/20100122 (not directory!)
But I want
/_work/test/backup/20100
On Fri, Jan 22, 2010 at 10:29 AM, SwenVogel wrote:
>
> Hi,
>
> i use the send() method of the producer template, like in the code snippet
> from the first post.
>
> Means "Custom OnCompletion is triggered when you use a route." that when
> i use a standard component for example "file" that the
> G
Hi all,
I am new to camel and have hit a problem that I hope someone can help me
with.
I have a route that looks for a file in a directory => unmarshals the file
using => transforms the output from the unmarshal (which is
List>) to a List of data objetcs => passes the List of data
objects to a
Can you post what you're doing in your aggregation strategy?
On Fri, Jan 22, 2010 at 4:05 AM, lekkie wrote:
>
> Hi,
>
> I want to combine messages from 2 different exchanges into a single
> exchange, from the EIP patterns aggregation strategy seems to be right
> pattern to use.
>
> However, after
Hi Wayne,
I commit a patch of CAMEL-2386, please check out the last
camel-2.2-SNAPSHOT to verify it :)
Willem
Willem Jiang wrote:
I just did a quick test on camel trunk, you can get the URL parameters
by using the
exchange.getIn().getHeader(Exchange.HTTP_QUERY)
When you post the binary data
run test case, 1.txt file was moved to
> /_work/test/backup/20100122 (not directory!)
>
> But I want
> /_work/test/backup/20100122/1.txt
>
>
> [[test case]]
> http://camel.apache.org/schema/spring&qu
On Fri, Jan 22, 2010 at 1:20 PM, Andy Bourke wrote:
>
> Hi all,
>
> I am new to camel and have hit a problem that I hope someone can help me
> with.
>
> I have a route that looks for a file in a directory => unmarshals the file
> using => transforms the output from the unmarshal (which is
> List>
See code below:
package org.tempuri;
import org.apache.camel.Exchange;
import org.apache.camel.Header;
import org.apache.camel.Message;
import org.apache.camel.processor.aggregate.AggregationStrategy;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public cl
If I understand it right, the multicast allows the same payload to be
processed by multiple end points? If I remove the multicast then won't the
second enpoint (in the now non-multicast pipeline) try to process the output
from the first one?
Claus Ibsen-2 wrote:
>
> On Fri, Jan 22, 2010 at 1:20
On Fri, Jan 22, 2010 at 2:41 PM, Andy Bourke wrote:
>
> If I understand it right, the multicast allows the same payload to be
> processed by multiple end points? If I remove the multicast then won't the
> second enpoint (in the now non-multicast pipeline) try to process the output
> from the first
On Fri, Jan 22, 2010 at 2:47 PM, Claus Ibsen wrote:
> On Fri, Jan 22, 2010 at 2:41 PM, Andy Bourke
> wrote:
>>
>> If I understand it right, the multicast allows the same payload to be
>> processed by multiple end points? If I remove the multicast then won't the
>> second enpoint (in the now non-
Hi everybody,
Thank you all for the light-speed-like response!
Cheers,
Gunnar
Claus Ibsen wrote:
Hi
I have created the ticket
https://issues.apache.org/activemq/browse/CAMEL-2391
And also implemented this new feature.
There is a new option disconnect=true which will disconnect from the
rem
Please excuse my ignorance Claus, but I don't know what "log:foo" means, I
have tried using it as you have written but I get an exception:
org.xml.sax.SAXParseException: The prefix "log" for element "log:info" is
not bound
I have tried without using parallelProcessing="true" and the problem
rem
On Fri, Jan 22, 2010 at 3:27 PM, Andy Bourke wrote:
>
> Please excuse my ignorance Claus, but I don't know what "log:foo" means, I
> have tried using it as you have written but I get an exception:
>
> org.xml.sax.SAXParseException: The prefix "log" for element "log:info" is
> not bound
>
To use t
Hmmm, I tested your aggregator code as-is on 2.2-SNAPSHOT here and it
works fine:
2010-01-22 09:41:18,444 [0: Batch Sender] INFO
JoinStringAggregatorTest - New: Exchange[Message: one]
2010-01-22 09:41:18,444 [0: Batch Sender] INFO
JoinStringAggregatorTest - old: Exchange[Message: one]
> To use the log component you should just do
>
> http://camel.apache.org/log.html
Ok, I've got it now. However, sending the output to the log rather than the
file does not stop the rename issue. If it helps the actual error from the
trace log is:
org.apache.camel.component.file.GenericFileOp
On Fri, Jan 22, 2010 at 3:54 PM, Andy Bourke wrote:
>
>
>> To use the log component you should just do
>>
>
>> http://camel.apache.org/log.html
>
> Ok, I've got it now. However, sending the output to the log rather than the
> file does not stop the rename issue. If it helps the actual error from
ws got something mixed up with the path separators.
>
>
> On Fri, Jan 22, 2010 at 11:31 AM, ariablu <962...@gmail.com> wrote:
>>
>> Thank you for reply.
>>
>> Next try,
>> using Apache Camel camel-2.2-SNAPSHOT and Spring,
>> rou
ger.org.apache.camel.component.file=TRACE
>>
>> The should be detailed info how the filename is being evaluated.
>> Wonder if Windows got something mixed up with the path separators.
>>
>>
>> On Fri, Jan 22, 2010 at 11:31 AM, ariablu <962...@gma
> Which OS are you running? Could you write that down in the JIRA as well.
I'm running Windows Vista Business Service Pack 2, 32 bit. I have put this
in the Jira (#CAMEL-2394)
https://issues.apache.org/activemq/browse/CAMEL-2394
--
View this message in context:
http://old.nabble.com/Renamer-f
This is what comes form my log:
11:38:31,370 | INFO | 0: Batch Sender | MyAggregationStrategy|
rg.tempuri.MyAggregationStrategy 23 | new: Exchange[Message:
StringSource[http://schemas.xmlsoap.org/soap/envelope/";><_ns_:RequestResponse
xmlns:_ns_="http://services.locator/";>http://
CE logging for this log name:
>>> org.apache.camel.component.file
>>>
>>> eg if using log4j then its:
>>> log4j.logger.org.apache.camel.component.file=TRACE
>>>
>>> The should be detailed info
Hi,
I noticed you had a validation component for validating xml against xsds.
But I wondered if there was a nice way to test if the message body was well
formed xml.
I have a scenario where I am pulling a xml feed via http but when the feed
is unavailable you get back an html page which I also r
Instead of outBatchSize=2 did you try batchSize=2 maybe? Also does it
perhaps work properly without that wiretap?
On Fri, Jan 22, 2010 at 10:41 AM, lekkie wrote:
>
> This is what comes form my log:
>
> 11:38:31,370 | INFO | 0: Batch Sender | MyAggregationStrategy |
> rg.tempuri.MyAg
Hi,
I think you can do it with camel validation component.
You can find more information about how to use it here[1]
[1] http://camel.apache.org/validation.html
Willem
jpcook wrote:
Hi,
I noticed you had a validation component for validating xml against xsds.
But I wondered if there was a ni
Hi guys,
Turns out that I'm using MinaProducer and not MinaConsumer of course;
MinaConsumer is the one that has the HEADER_CLOSE_SESSION_WHEN_COMPLETE
logic and MinaProducer isn't so capable by the looks of it.
I was hoping that stopping the template by calling its stop method would in
turn caus
32 matches
Mail list logo