[
https://issues.apache.org/jira/browse/ARIES-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15562098#comment-15562098
]
metatech commented on ARIES-1407:
---------------------------------
Hi Grzegorz,
Thanks for looking into this.
Unfortunately, it has been long since I debugged this code, and I forgot the
inner workings of it.
I added the registration listener in the ActiveMQ Blueprint bundle of
ServiceMix 5.4.1 :
{code}
<service id="connectionFactoryService" ref="pooledConnectionFactory"
interface="javax.jms.ConnectionFactory">
<registration-listener registration-method="register">
<bean class="com.mycompany.blueprint.ExitGracePeriodNotifier">
<property name="blueprintContainer"
ref="blueprintContainer"/>
</bean>
</registration-listener>
</service>
{code}
I use the ExitGracePeriodNotifier contributed in ARIES-805
> Service (un)registration listener not called anymore
> ----------------------------------------------------
>
> Key: ARIES-1407
> URL: https://issues.apache.org/jira/browse/ARIES-1407
> Project: Aries
> Issue Type: Bug
> Components: Blueprint
> Environment: Servicemix 5.4.1
> Reporter: metatech
> Attachments: blueprint_registration_listener_fix_v2.patch
>
>
> Service (un)registration listeners are not called anymore since Blueprint
> 1.4.0.
> There are 2 booleans in the "ServiceRecipe" class which are tested against
> the wrong values.
> Please find a patch which makes them work again with Blueprint 1.4.3.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)