[JBoss JIRA] (JBWS-3731) Control and document behavior regarding thread default bus changes depending on client bus selection strategy
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-3731?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-3731:
----------------------------------
Description:
With the availability of different client bus selection strategies, we need to clarify if/what changes a client construction applies to the current thread default bus.
The enforced behavior should be the following:
* THREAD_BUS strategy
Bus used for client
=======================================
| | Client Bus |
=======================================
| Default | NULL | New bus (Z) |
| Thread |-------------------------|
| Bus | Bus X | Bus X |
=======================================
State of buses before and after client creation
=======================================
| Bus | BEFORE | AFTER |
=======================================
| Default | NULL | New bus (Z) |
| Thread |--------------------------|
| Bus | Bus X | Bus X |
=======================================
| TCCL | NULL | NULL |
| Bus |--------------------------|
| | Bus Y | Bus Y |
=======================================
* NEW_BUS strategy
Bus used for client
=======================================
| | Client Bus |
=======================================
| Default | NULL | New bus |
| Thread |-------------------------|
| Bus | Bus X | New bus |
=======================================
State of buses before and after client creation
=======================================
| Bus | BEFORE | AFTER |
=======================================
| Default | NULL | NULL |
| Thread |--------------------------|
| Bus | Bus X | Bus X |
=======================================
| TCCL | NULL | NULL |
| Bus |--------------------------|
| | Bus Y | Bus Y |
=======================================
* TCCL_BUS strategy
Bus used for client
=======================================
| | Client Bus |
=======================================
| TCCL | NULL | New bus (Z) |
| Bus |-------------------------|
| | Bus Y | Bus Y |
=======================================
State of buses before and after client creation
=======================================
| Bus | BEFORE | AFTER |
=======================================
| Default | NULL | NULL |
| Thread |--------------------------|
| Bus | Bus X | Bus X |
=======================================
| TCCL | NULL | New bus (Z) |
| Bus |--------------------------|
| | Bus Y | Bus Y |
=======================================
was:
With the availability of different client bus selection strategies, we need to clarify if/what changes a client construction applies to the current thread default bus.
The enforced behavior should be the following:
* Thread default busses with THREAD_BUS strategy
|BEFORE client creation | USED for client | AFTER client creation
| NULL | NEW | NEW
| Bus X | Bus X | Bus X
* Thread default busses with NEW_BUS strategy:
|BEFORE client creation | USED for client | AFTER client creation
| NULL | NEW | NULL
| Bus X | NEW | Bus X
* Thread default busses with TCCL_BUS strategy:
|BEFORE client creation | USED for client | AFTER client creation
| NULL | TCCL | NULL
| Bus X | TCCL | Bus X
> Control and document behavior regarding thread default bus changes depending on client bus selection strategy
> -------------------------------------------------------------------------------------------------------------
>
> Key: JBWS-3731
> URL: https://issues.jboss.org/browse/JBWS-3731
> Project: JBoss Web Services
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: jbossws-cxf, productization
> Reporter: Alessio Soldano
> Assignee: Alessio Soldano
> Fix For: jbossws-cxf-4.2.3
>
>
> With the availability of different client bus selection strategies, we need to clarify if/what changes a client construction applies to the current thread default bus.
> The enforced behavior should be the following:
> * THREAD_BUS strategy
>
> Bus used for client
> =======================================
> | | Client Bus |
> =======================================
> | Default | NULL | New bus (Z) |
> | Thread |-------------------------|
> | Bus | Bus X | Bus X |
> =======================================
>
> State of buses before and after client creation
> =======================================
> | Bus | BEFORE | AFTER |
> =======================================
> | Default | NULL | New bus (Z) |
> | Thread |--------------------------|
> | Bus | Bus X | Bus X |
> =======================================
> | TCCL | NULL | NULL |
> | Bus |--------------------------|
> | | Bus Y | Bus Y |
> =======================================
>
>
> * NEW_BUS strategy
>
> Bus used for client
> =======================================
> | | Client Bus |
> =======================================
> | Default | NULL | New bus |
> | Thread |-------------------------|
> | Bus | Bus X | New bus |
> =======================================
>
> State of buses before and after client creation
> =======================================
> | Bus | BEFORE | AFTER |
> =======================================
> | Default | NULL | NULL |
> | Thread |--------------------------|
> | Bus | Bus X | Bus X |
> =======================================
> | TCCL | NULL | NULL |
> | Bus |--------------------------|
> | | Bus Y | Bus Y |
> =======================================
>
>
> * TCCL_BUS strategy
>
> Bus used for client
> =======================================
> | | Client Bus |
> =======================================
> | TCCL | NULL | New bus (Z) |
> | Bus |-------------------------|
> | | Bus Y | Bus Y |
> =======================================
>
> State of buses before and after client creation
> =======================================
> | Bus | BEFORE | AFTER |
> =======================================
> | Default | NULL | NULL |
> | Thread |--------------------------|
> | Bus | Bus X | Bus X |
> =======================================
> | TCCL | NULL | New bus (Z) |
> | Bus |--------------------------|
> | | Bus Y | Bus Y |
> =======================================
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira