eclipse-ee4j / eclipse-ee4j/genericmessagingra

Constructor property support

Open
#6 6 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
Component: core ERR: Assignee Priority: Major Type: Improvement
Dominant language
Java
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Tibcos EMS Queue implementation doesn't support a setDestination method,
so a dynamic, named Queue can only be created by passing the name into the
constructor. This means they can't be created using an ActivationSpec.

Suggest adding support for specifying constructor properties in the ActivationSpec.
This could either be a specific named property or the DestinationProperty
could be used to hold constructor properties, for example:
ConstructorArg=x.y.z,OtherProp=xxx
or assume a no name property is a constructor argument:
=x.y.z,OtherProp=xxx
multiple args could also be supported
ConstructorArg[0]=x.y.z,ConstructorArg[1]=a.b.c,OtherProp=xxx

This would (at minimum) only involve changes in the
ObjectBuilderFactory.ClassObjectBuilder.createObject() method and would support
all objects created by the ObjectBuilder
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[current]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.