[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: AW: [smila-dev] Question about routing messages
|
Hi, Daniel and Dmitry
Just fixed 5_Minutes_to_Success page )).
Shortly it should be two rules for Listener:
<ListenerConfig xmlns="http://www.eclipse.org/smila/queue"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="schemas/QueueWorkerConfig.xsd"
>
<Rule Name="Rule 1">
<Source BrokerId="broker1" Queue="SMILA.connectivity"/>
<Condition>Operation='ADD' AND DataSourceID = 'ds1'</Condition>
<Task>
<Process Workflow="pipeline1"/>
</Task>
</Rule>
<Rule Name="Rule 2">
<Source BrokerId="broker1" Queue="SMILA.connectivity"/>
<Condition>Operation='ADD' AND DataSourceID = 'ds2'</Condition>
<Task>
<Process Workflow="pipeline2"/>
</Task>
</Rule>
</ListenerConfig>
Daniel.Stucky@xxxxxxxxxxx wrote:
Thanks Dmitry, that's exactly what I was looking for.
Daniel
-----Ursprüngliche Nachricht-----
Von: smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-
bounces@xxxxxxxxxxx] Im Auftrag von dhazin@xxxxxxxxxxxx
Gesendet: Dienstag, 25. November 2008 12:07
An: Smila project developer mailing list
Betreff: Re: [smila-dev] Question about routing messages
Hi Daniel,
You can find the example configuration for the case when records that
come
from different sources go to different pipelines here:
http://wiki.eclipse.org/SMILA/Documentation_for_5_Minutes_to_Success#5_
Minutes_for_Changing_Workflow
The idea is that you can separate records that come form different
sources
by applying Condition in the Rules.
Thanks,
Dmitry
Hi all,
I have a question concerning routing of messages. I have to file
sources
that I want to process with different pipelines:
sourceA -> pipelineA
sourceB -> pipelineB
I want to use just one Queue instance. How do I have to configure
routers and listeners to achieve this ?
Help is most welcome!
Bye,
Danieel
_______________________________________________
smila-dev mailing list
smila-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-dev
_______________________________________________
smila-dev mailing list
smila-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-dev
------------------------------------------------------------------------
_______________________________________________
smila-dev mailing list
smila-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-dev