[jboss-as7-dev] JMS queues: default attributes

Brian Stansberry brian.stansberry at redhat.com
Wed May 4 08:42:46 EDT 2011


There's a JIRA (sorry, too lazy to look it up) to go through and make 
sure all the default values are stored in the model. That's the job of 
the op handlers, not the parser, since resources can be added via other 
means than parsing.

On 5/4/11 5:19 AM, Alexey Loubyansky wrote:
> For durable - yes. Although, I guess, specifying the default attribute
> value in xsd in our case would make it only a documentation, I doubt
> that the stax parser will insert the default values in case the actual
> ones are absent.
>
> On 05/04/2011 10:53 AM, Heiko Braun wrote:
>>
>>
>> be empty ->   be absent
>>
>> On May 4, 2011, at 10:45 AM, Heiko Braun wrote:
>>
>>>
>>>
>>> yes, what i mean is that a boolean attribute should not be empty.
>>>
>>> On May 4, 2011, at 10:32 AM, Alexey Loubyansky wrote:
>>>
>>>> In JMSQueueAdd the default for durable is true and selector is an
>>>> optional thing, can be absent.
>>>>
>>>> On 05/04/2011 10:23 AM, Heiko Braun wrote:
>>>>> Looking at the schema schema for the JMS subsystem, I can see the attributes 'durable', 'selector'.
>>>>> None of them are set. I expect default values for these attributes, no?
>>>>>
>>>>>
>>>>> [domain at localhost:9999 /] /profile=default/subsystem=jms/queue=testQueue:read-resource(recursive=true)
>>>>> {
>>>>>      "outcome" =>    "success",
>>>>>      "result" =>    {"entries" =>    ["queue/test"]},
>>>>>      "compensating-operation" =>    undefined
>>>>> }
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> jboss-as7-dev mailing list
>>>>> jboss-as7-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>> _______________________________________________
>>>> jboss-as7-dev mailing list
>>>> jboss-as7-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list