[
https://jira.jboss.org/jira/browse/JBREM-1102?page=com.atlassian.jira.plu...
]
Ron Sigal commented on JBREM-1102:
----------------------------------
Created a new parameter, org.jboss.remoting.Remoting.PASS_CONFIG_MAP_TO_MARSHAL_FACTORY
(actual value "passConfigMapToMarshalFactory"), which needs to be set to
"true" to have the configuration map passed to marshalFactory. Otherwise, the
original behavior holds.
Tests: Several methods are added to the existing tests to account for the three
circumstances: (1) there is no extra configuration; (2)
"passConfigMapToMarshalFactory" is set to "false"; (3)
"passConfigMapToMarshalFactory" is set to true.
These changes have been applied to the 2.2 branch.
Make configuration map available to MarshalFactory
--------------------------------------------------
Key: JBREM-1102
URL:
https://jira.jboss.org/jira/browse/JBREM-1102
Project: JBoss Remoting
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 2.5.0.SP2 (Flounder) , 2.2.2.SP11
Reporter: Ron Sigal
Assignee: Ron Sigal
Fix For: 2.5.1 (Flounder), 2.2.3
Attachments: jboss-remoting.jar
The methods
public static Marshaller getMarshaller(InvokerLocator locator, ClassLoader
classLoader)
and
public static UnMarshaller getUnMarshaller(InvokerLocator locator, ClassLoader
classLoader)
in org.jboss.remoting.marshal.MarshalFactory get a marshaller or unmarshaller,
respectively, from either a "datatype" parameter or from fully qualified names
of the marshaller and unmarshaller classes. However, they don't have access to
parameters configured by way of the configuration map.
This is a problem for JBossESB, in particular,
org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener, which creates an
org.jboss.remoting.transport.Connector from parameters configured in a jboss-esb.xml file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira