Ah, I haven't. That fixed it thanks. I assumed if I registered it manually
that the annotation would not be required.
On Mon, Jun 29, 2015 at 11:21 AM, Michal Gajdos <michal.gajdos_at_oracle.com>
wrote:
> Hi Robert,
>
> provided code snippet looks valid. One question though – Have you
> annotated MyExecutorProvider with @ClientAsyncExecutor [1]?
>
> [1]
> https://jersey.java.net/apidocs/latest/jersey/org/glassfish/jersey/client/ClientAsyncExecutor.html
>
> Michal
>
> On 29 Jun 2015, at 19:38, Robert DiFalco <robert.difalco_at_gmail.com> wrote:
>
> I'm having a difficult time figuring out how to use my own pool for Async
> Client calls. Currently I have this:
>
> Client client = ClientBuilder.newClient();
> client.register(new MyExecutorProvider());
>
>
> But this doesn't seem to be working correctly. Anything obvious I am
> doing wrong here?
>
>
>