activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuconic <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #800: POC for CDI Integration in Artemis
Date Thu, 29 Sep 2016 19:05:18 GMT
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/800#discussion_r81211716
  
    --- Diff: docs/user-manual/en/cdi-integration.md ---
    @@ -0,0 +1,32 @@
    +# CDI Integration
    +
    +Apache ActiveMQ Artemis provides a simple CDI integration.  It can either use an embedded
broker or connect to a remote broker.
    +
    +## Configuring a connection
    +
    +Configuration is provided by implementing the `ArtemisClientConfiguration` interface.
    +
    +```java
    +public interface ArtemisClientConfiguration {
    +   String getHost();
    +
    +   Integer getPort();
    +
    +   String getUsername();
    +
    +   String getPassword();
    +
    +   String getUrl();
    +
    +   String getConnectorFactory();
    +
    +   boolean startEmbeddedBroker();
    +
    +   boolean isHa();
    +
    +   boolean hasAuthentication();
    +}
    +```
    +
    +There's a default configuration out of the box, if none is specified.  This will generate
an embedded broker.
    --- End diff --
    
    Can we improve the doc a little here? how to use it.. etc? just a paragraph or two is
fine.
    
    I will merge it regardless of this.. but it would be nice to improve it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message