Hi,

yes I talk about the OSGI Event Handlers. But if jcr eventlisteners
support this ordering I could go with them as well.
I haven't read anything about that either.

Regards,
 Markus

On Sat, Oct 8, 2011 at 10:37 PM, Felix Meschberger <[email protected]> wrote:
> Hi,
>
> I assume you are talking of OSGi EventHandler, right ?
>
> I would assume that service ranking would  be respected but I couldn't find a 
> hint in the spec either. You might want to ask the question on the OSGi Dev 
> List ...
>
> Regards
> Felix
>
> Am 07.10.2011 um 17:34 schrieb Markus Joschko:
>
>> Is there a way to to order the event handlers?
>> I have multiple event handlers executing on node creation.
>>
>> One of these handlers will move the node to a new location. Obviously
>> that should happen after the others done their changes as otherwise
>> they try to operate on an outdated path.
>> Can I guarantee this? I thought about the service ranking but couldn't
>> find anything that strengthen that.
>> Alternatively I could schedule a job that moves the node in 5 seconds
>> so the other handlers have enough time to execute. But that's a bit
>> ugly.
>>
>> Any other ideas?
>>
>> Thanks,
>> Markus
>
>

Reply via email to