On Mon, Nov 10, 2014 at 11:44 AM, Sergey Beryozkin <[email protected]> wrote:
> Hi
>
> On 10/11/14 14:43, Benson Margulies wrote:
>>
>> I want to use the JAX-RS client and set a bus-level property, and
>> other things in process may be doing their own stuff. So I'd like to
>> create a specific bus and use it. Is this possible?
>>
> Perhaps one option is to set a default bus in scope for the invocation,
> another one: we can pass some properties via 2.0 Client interface, may be
> pass a Bus instance as a property and then internally it will be picked up ?

Will the JAX-RS API use the thread default bus? If so, I can take your
first suggestion.

The second sounds like the right thing for the medium term.

You could also tell me how to push a value of
AsyncHTTPConduit.USE_ASYNC through a property :-).

>
> Sergey
>

Reply via email to