Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1836

JMS Binding does not conform to the specification when creating JMS queues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Java-SCA-1.0
    • Java-SCA-1.1
    • None
    • SVN Revision #582742
      Linux
    • Patch Available

    Description

      Currently, the way that the JMS Binding creates JMS queues is not compliant with the SCA JMS Binding specification.

      Currently it looks for the JMS Queue. If it does not exist, it will attempt to create it if the create mode is CREATE_ALLWAYS.

      The JMS Binding specification says:

      137 • /binding.jms/destination/@create - indicates whether the destination should be created
      138 when the containing composite is deployed. Valid values are "always", "never" and
      139 "ifnotexist". The default value is "ifnotexist". If "always" is specified and the corresponding
      140 resource already exists, then this should be considered an error.

      The current implementation does not handle the following scenarios correctly:

      • Queue existing and "always" specified
      • No support for "ifnotexist"

      Also, throughout the code CREATE_ALLWAYS is spelt wrongly.

      Attachments

        1. JMSQueueCreateModes_Tests.patch
          30 kB
          Mark Combellack
        2. JMSQueueCreateModes.patch
          17 kB
          Mark Combellack

        Activity

          People

            simonslaws Simon Laws
            mcombell Mark Combellack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: