Source

affinitic.zamqp / src / affinitic / zamqp / configure.zcml

Full commit
<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:grok="http://namespaces.zope.org/grok"
           xmlns:zcml="http://namespaces.zope.org/zcml"
           i18n_domain="zamqp">

    <include package="z3c.autoinclude" file="meta.zcml" />
    <includeDependencies package="." />

    <configure zcml:condition="installed five.dbevent">
      <include package="five.dbevent" />
    </configure>

    <configure zcml:condition="installed zope.processlifetime">
      <subscriber
          for="zope.processlifetime.IDatabaseOpenedWithRoot"
          handler=".service.bootStrapSubscriber"/>
      </configure>

    <configure zcml:condition="installed zope.app.appsetup">
      <subscriber
          for="zope.app.appsetup.interfaces.IDatabaseOpenedWithRootEvent"
          handler=".service.bootStrapSubscriber"/>
    </configure>

    <grok:grok package="."/>

</configure>