[overlord-issues] [JBoss JIRA] (ARTIF-633) Work around RESTEasy issues affecting batch upload support in Wildfly

Brett Meyer (JIRA) issues at jboss.org
Tue Jan 6 20:55:29 EST 2015


     [ https://issues.jboss.org/browse/ARTIF-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Meyer updated ARTIF-633:
------------------------------
    Summary: Work around RESTEasy issues affecting batch upload support in Wildfly  (was: Work around RESTEasy issues affecting batch support in Wildfly)


> Work around RESTEasy issues affecting batch upload support in Wildfly
> ---------------------------------------------------------------------
>
>                 Key: ARTIF-633
>                 URL: https://issues.jboss.org/browse/ARTIF-633
>             Project: Artificer
>          Issue Type: Bug
>            Reporter: Brett Meyer
>            Assignee: Brett Meyer
>
> RESTEASY-1119 affects batch upload support in Wildfly.  Part of the reason is that we're using deprecated code (ClientExecutor, etc.).  As suggested, something like the following is a workaround:
> {code}
> ResteasyProviderFactory factory = ResteasyProviderFactory.getInstance();
> ResteasyProviderFactory.pushContext(javax.ws.rs.ext.Providers.class, factory);
> ResteasyClientBuilder resteasyClientBuilder = new
> ResteasyClientBuilder().providerFactory(factory);
> ResteasyClient client = resteasyClientBuilder.build();
> {code}
> But, that's only available in RE 3.  We might have to pull the client-creation code into s-ramp-server/eap and s-ramp-server/wildfly (or upgrade wildfly in eap)



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the overlord-issues mailing list