Bug 780709 (SOA-3161) - Enabling compression on JBossWS webservice endpoints
Summary: Enabling compression on JBossWS webservice endpoints
Keywords:
Status: NEW
Alias: SOA-3161
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB, JBossWS
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: FUTURE
Assignee: tcunning
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-12 10:36 UTC by Kevin Conner
Modified: 2013-10-11 18:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Feature Request
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBESB-3741 0 Major Open Enabling compression on JBossWS webservice endpoints 2016-03-24 17:39:49 UTC
Red Hat Issue Tracker JBQA-5063 0 Major Resolved Need a new SOA-P 5.2 test for: Enabling compression on JBossWS webservice endpoints (SOA-3161) 2016-03-24 17:39:49 UTC
Red Hat Issue Tracker SOA-3161 0 Major Closed Enabling compression on JBossWS webservice endpoints 2016-03-24 17:39:48 UTC

Description Kevin Conner 2011-07-12 10:36:33 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007CJFt&sfdc.override=1
project_key: SOA

A customer requested the ability to enable compression on JBossWS endpoints, however the codebase used within SOA does not allow for features/interceptors to be specified on a global basis.

Within the ESB codebase we extend the CXF servlet in order to enable invm invocations with the CXF codebase, this same mechanism can be used to enable global features/interceptors by extending the servlet as follows.


public class ESBFeatureCXFServletExt extends ESBCXFServletExt
{
    private static Logger LOG = Logger.getLogger(ESBFeatureCXFServletExt.class) ;
    
    @Override
    public void loadBus(final ServletConfig config)
        throws ServletException
    {
        super.loadBus(config) ;
        if (bus.getExtension(ESBFeatureCXFServletExt.class) == null)
        {
            bus.setExtension(this, ESBFeatureCXFServletExt.class) ;
            final GZIPFeature feature = new GZIPFeature() ;
            feature.initialize(bus) ;
            LOG.info("Included GZIP Feature on CXF bus deployment") ;
        }
    }
}

This servlet will enable the GZIP feature on each CXF bus which is deployed.

Comment 1 Len DiMaggio 2011-08-05 17:51:34 UTC
Link: Added: This issue relates to JBQA-5063


Comment 2 Anne-Louise Tangring 2011-08-08 16:03:44 UTC
If this is only to modify some existing test cases, then it can go into 5.2, if it is more encompassing than that or will impact SOA 5.2 in any way, we need to discuss in team meeting.

Comment 3 Kevin Conner 2011-09-12 17:24:05 UTC
This would be a change to the ESB servlet used to augment the CXF behaviour.  We would modify it as above (or similar) to enable compression on the CXF webservices.

The change is minimal and benefits customer deployments of CXF webservices.


Note You need to log in before you can comment on or make changes to this bug.