f we should force a begin DSL for the few
>> EIP types that have nested routes,
>> to easier pair begin / end and have better errors if missing.
>>
>> In Spring XML you have the XML tags start/end tag for that. So that is
>> really an area where the XML is better than
.
In Spring XML you have the XML tags start/end tag for that. So that is
really an area where the XML is better than Java DSL.
Roman
2009/6/10 Claus Ibsen :
On Wed, Jun 10, 2009 at 1:09 PM, Peter Maas
wrote:
Hi,
I wondered what the purpose of the 'end' method in a route is. I
e:
>>> Hi,
>>>
>>> I wondered what the purpose of the 'end' method in a route is. I sort of
>>> expected it to be a terminator for dead-end routes. But that doesn't seem to
>>> be the case.
>>>
>>> If I do something lik
BTW The message in the Exception could be more clear. It is not
obvious what "Root node with no active block" is ;)
Roman
2009/6/10 Claus Ibsen :
> On Wed, Jun 10, 2009 at 1:09 PM, Peter Maas wrote:
>> Hi,
>>
>> I wondered what the purpose of the 'end' me
On Wed, Jun 10, 2009 at 1:09 PM, Peter Maas wrote:
> Hi,
>
> I wondered what the purpose of the 'end' method in a route is. I sort of
> expected it to be a terminator for dead-end routes. But that doesn't seem to
> be the case.
>
> If I do somethi
Hi,
I wondered what the purpose of the 'end' method in a route is. I sort
of expected it to be a terminator for dead-end routes. But that
doesn't seem to be the case.
If I do something like this:
from("direct:start")
.process(new Processor(){