Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Java-SCA-1.0
-
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.