[ 
https://issues.apache.org/jira/browse/ARTEMIS-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mohammad Naghavi updated ARTEMIS-1778:
--------------------------------------
    Description: 
Using the clients provided in package artemis-junit against an externally 
running broker where security is enabled would be a great improvements in cases 
of end to end testing. Looking at the code of AbstractActiveMQClientResource, 
it is actually a pretty easy change, all needed is to let constructors accept 
optional username and password and to pass them to 
`sessionFactory.createSession()` where the session is being created on the 
start method.

this easy change will enable a huge number of use cases for this helpful piece 
of code.

  was:
Using the clients provided in package artemis-junit against an externally 
running broker would be a great improvements in cases of end to end testing. 
Looking at the code of AbstractActiveMQClientResource, it is actually a pretty 
easy change, all needed is to let constructors accept optional username and 
password and to pass them to `sessionFactory.createSession()` where the session 
is being created on the start method.

this easy change will enable a huge number of use cases for this helpful piece 
of code.


> let artemis test suite be used against an external security enabled broker
> --------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1778
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1778
>             Project: ActiveMQ Artemis
>          Issue Type: Wish
>    Affects Versions: 2.5.0
>            Reporter: Mohammad Naghavi
>            Priority: Major
>
> Using the clients provided in package artemis-junit against an externally 
> running broker where security is enabled would be a great improvements in 
> cases of end to end testing. Looking at the code of 
> AbstractActiveMQClientResource, it is actually a pretty easy change, all 
> needed is to let constructors accept optional username and password and to 
> pass them to `sessionFactory.createSession()` where the session is being 
> created on the start method.
> this easy change will enable a huge number of use cases for this helpful 
> piece of code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to