You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by unni_varun <va...@yahoo.com> on 2007/08/20 15:44:49 UTC
Running multiple instances of same SU
Hi,
Is there someway to have multiple instances of the same SU running.
Thanks in anticipation,
Varun
--
View this message in context: http://www.nabble.com/Running-multiple-instances-of-same-SU-tf4298956s12049.html#a12236226
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: AW: Running multiple instances of same SU
Posted by Terry Cox <te...@meta-concepts.com>.
> Why don't you configure a file SU with different poller endpoints
> (consumers with optional marshalers)
You might want to manage the lifecycles of the projects independently,
rather than closely coupled...
--
Terry
AW: Running multiple instances of same SU
Posted by "Kuntze, Oliver (EXT)" <Ol...@union-investment.de>.
Hi Gordon,
Why don't you configure a file SU with different poller endpoints (consumers with optional marshalers) for your different source directories and source file types as well as with different sender endpoints (providers) for your different target directories? Then add a routing SU, for example a content based router EIP SU or more complex but more flexible a drools SU with rules stored in and loaded from a database.
Not sure if I understand your use case correctly.
Best regards,
Oliver
Oliver Kuntze
Senior Consultant EAI
Union Investment
Tel. +49 69 2567-7381
E-Mail oliver.kuntze@union-investment.de
____________________________
softlab group
entory AG
Königsberger Straße 29 | 60487 Frankfurt
Tel. +49 69 97261-263 | Fax +49 69 97261-70
E-Mail oliver.kuntze@entory.com | Mobil +49 162 263 4131
Internet http://www.softlab-group.com
entory AG | Niederlassung Frankfurt |
Vorstand: Said Tabet (Vorsitzender), Hagen Buchwald, Ernst Schmitz |
Vorsitzender des Aufsichtsrats: Peter Broicher | Sitz: Ettlingen | Amtsgericht Karlsruhe HRB 907 E
-----Ursprüngliche Nachricht-----
Von: Gordon Dickens [mailto:gdickens@anexinet.com]
Gesendet: Dienstag, 21. August 2007 15:31
An: servicemix-users@geronimo.apache.org
Betreff: Re: Running multiple instances of same SU
I am in the process of creating multiple SAs (with corresponding SUs) with different instances.
For example: If I want to create a file processor that moves files from directory A to directory B (based on filetype), and have a different
process move files of a different type to/from other directories. I
setup the SA structure, have a Maven build process copy the SA structure for multiple instances. Each instance is configured by property file entries.
Regards,
Gordon
Nodet Guillaume wrote:
> Not really. Why would you want that? SU can usually process multiple
> messages concurrently ...
>
> Cheers
> Guillaume Nodet
>
> On Aug 20, 2007, at 3:44 PM, unni_varun wrote:
>
>
>> Hi,
>>
>> Is there someway to have multiple instances of the same SU running.
>>
>> Thanks in anticipation,
>> Varun
>> --
>> View this message in context: http://www.nabble.com/Running-
>> multiple-instances-of-same-SU-tf4298956s12049.html#a12236226
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
>
>
Re: Running multiple instances of same SU
Posted by Nodet Guillaume <gn...@gmail.com>.
Then, these are different SUs. You can deploy as much SAs as you
want, as long as the SA name is unique and the activate JBI endpoints
have unique name too.
I guess I misunderstood to what the "instance" word was referring.
Cheers,
Guillaume Nodet
On Aug 21, 2007, at 3:31 PM, Gordon Dickens wrote:
> I am in the process of creating multiple SAs (with corresponding
> SUs) with different instances.
>
> For example: If I want to create a file processor that moves files
> from directory A to directory B (based on filetype), and have a
> different process move files of a different type to/from other
> directories. I setup the SA structure, have a Maven build process
> copy the SA structure for multiple instances. Each instance is
> configured by property file entries.
>
> Regards,
> Gordon
>
>
> Nodet Guillaume wrote:
>> Not really. Why would you want that? SU can usually process multiple
>> messages concurrently ...
>>
>> Cheers
>> Guillaume Nodet
>>
>> On Aug 20, 2007, at 3:44 PM, unni_varun wrote:
>>
>>
>>> Hi,
>>>
>>> Is there someway to have multiple instances of the same SU running.
>>>
>>> Thanks in anticipation,
>>> Varun
>>> --
>>> View this message in context: http://www.nabble.com/Running-
>>> multiple-instances-of-same-SU-tf4298956s12049.html#a12236226
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>>
>
Re: Running multiple instances of same SU
Posted by Gordon Dickens <gd...@anexinet.com>.
I am in the process of creating multiple SAs (with corresponding SUs)
with different instances.
For example: If I want to create a file processor that moves files from
directory A to directory B (based on filetype), and have a different
process move files of a different type to/from other directories. I
setup the SA structure, have a Maven build process copy the SA structure
for multiple instances. Each instance is configured by property file
entries.
Regards,
Gordon
Nodet Guillaume wrote:
> Not really. Why would you want that? SU can usually process multiple
> messages concurrently ...
>
> Cheers
> Guillaume Nodet
>
> On Aug 20, 2007, at 3:44 PM, unni_varun wrote:
>
>
>> Hi,
>>
>> Is there someway to have multiple instances of the same SU running.
>>
>> Thanks in anticipation,
>> Varun
>> --
>> View this message in context: http://www.nabble.com/Running-
>> multiple-instances-of-same-SU-tf4298956s12049.html#a12236226
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
>
>
Re: Running multiple instances of same SU
Posted by unni_varun <va...@yahoo.com>.
yeah it can proces multiple messages. but right now i have a performance
hit. i have a hibernate component for database operations. (hibernate
component is not from apache). So if i can have multilple instance of it i
can handle multiple database operations, so i could resolve this performance
issue. i heard like its possible to run multiple instances of the same SU.
it would have been great if you could help me out here.
--
View this message in context: http://www.nabble.com/Running-multiple-instances-of-same-SU-tf4298956s12049.html#a12236646
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Running multiple instances of same SU
Posted by Nodet Guillaume <gn...@gmail.com>.
Not really. Why would you want that? SU can usually process multiple
messages concurrently ...
Cheers
Guillaume Nodet
On Aug 20, 2007, at 3:44 PM, unni_varun wrote:
>
> Hi,
>
> Is there someway to have multiple instances of the same SU running.
>
> Thanks in anticipation,
> Varun
> --
> View this message in context: http://www.nabble.com/Running-
> multiple-instances-of-same-SU-tf4298956s12049.html#a12236226
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>