[jboss-remoting-issues] [JBoss JIRA] Commented: (JBREM-1114) Update servlet transport to support JBossMessaging

Ron Sigal (JIRA) jira-events at lists.jboss.org
Mon Apr 13 02:31:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBREM-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12461750#action_12461750 ] 

Ron Sigal commented on JBREM-1114:
----------------------------------

A new parameter, org.jboss.remoting.transport.servlet.ServletServerInvoker.UNWRAP_SINGLETON_ARRAYS (actual value "unwrapSingletonArrays") has been added to ServletServerInvoker.  If it is set to true in the configuration map, then, when HttpServletRequest.getParameterMap() maps a String to an array of length one, the value in the array is extracted and associated with the String key.

Testing:  This changes have been incorporated into a jboss-remoting.jar which was attached to JBPAPP-1274, along with a test case.  The jar was used by Howard Gao and Galder Zamarreño with successful results.

> Update servlet transport to support JBossMessaging
> --------------------------------------------------
>
>                 Key: JBREM-1114
>                 URL: https://jira.jboss.org/jira/browse/JBREM-1114
>             Project: JBoss Remoting
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.5.0.SP2 (Flounder) 
>            Reporter: Ron Sigal
>            Assignee: Ron Sigal
>             Fix For: 2.5.0.SP3 (Flounder)
>
>
> In working on JBMESSAGING-1131 "Add configuration for Remoting servlet transport" and JBPAPP-1274 "Fix JBoss Messaging and JBoss Remoting so that servlet transport can be used", a couple of issues arose.
> 1. If the body of the request is null, a new InvocationRequest will be created.
> 2. javax.servlet.http.HttpServletRequest.getParameterMap() returns a map with keys of type String and values of type String[].  Currently, ServletServerInvoker just extracts the String[] values and passes them along in a metadata map.  It is better, in the case of a String arrays of length one, to extract the value in the array.

-- 
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

       




More information about the jboss-remoting-issues mailing list