Forum Stats

  • 3,734,451 Users
  • 2,246,973 Discussions
  • 7,857,297 Comments

Discussions

Weblogic 12.2.1.4 activationConfig for MDB

User_LZICS
User_LZICS Member Posts: 10 Blue Ribbon

In Weblogic 12.1.x this activation activationConfig worked OK. In Weblogic 12.2.1.4 it throws error about property name "destination" - no such property. What do we suppose to use as a replacement for "destination" property name in Weblogic 12.2.x?

We use "destinationJndiName" for jms.SCRIPT_QUEUE (local destination),

SCRIPT_QUEUE is global destination name.

@MessageDriven(

      activationConfig = {

            @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),

            @ActivationConfigProperty(propertyName="destination", propertyValue="SCRIPT_QUEUE"),

            @ActivationConfigProperty(propertyName="acknowledgeMode", propertyValue="Auto-acknowledge"),

            @ActivationConfigProperty(propertyName="destinationJndiName", propertyValue="jms.SCRIPT_QUEUE"),

            @ActivationConfigProperty(propertyName="connectionFactoryJndiName", propertyValue="jms.XAConnectionFactory")

      })


Thank you!

Sign In or Register to comment.