1 Reply Latest reply on Jun 28, 2005 7:23 PM by pangto

    MDB - Durable Topic Subscription with Foreign JMS Provider

    pangto

      Hi,
      I have managed to integrate a foreign JMS provider into Jboss 4.0.2 and can receive and send message on Topics.
      However, I'm having problems making the subscription durable
      evening though I have set the MDB to be durable (in ejb-jar.xml)

      I've tried to set the client id and subscription name in both the ejb-jar.xml file and have also tried the jboss.xml file..... however nothing seems to work.

      I have even tried setting up a jbossmq-state.xml file (though I'm not sure this is relevant for Foreign JMS Provider)

      If someone can help then that would be great.

      ejb-jar.xml snippet

      <activation-property>
      <activation-config-property-name>clientID</activation-config-property-name>
      <activation-config-property-value>Gateway</activation-config-property-value>
      </activation-property>
      <activation-property>
      <activation-config-property-name>subscriptionName</activation-config-property-name>
      <activation-config-property-value>Gateway</activation-config-property-value>
      </activation-property>

      jboss.xml

      <mdb-client-id>Gateway</mdb-client-id>
      <mdb-subscription-name>Gateway</mdb-subscription-name>