[ 
https://issues.apache.org/jira/browse/ARTEMIS-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16512466#comment-16512466
 ] 

ASF GitHub Bot commented on ARTEMIS-1931:
-----------------------------------------

Github user jbertram commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2140#discussion_r195422277
  
    --- Diff: 
artemis-cli/src/main/java/org/apache/activemq/artemis/cli/process/ProcessBuilder.java
 ---
    @@ -64,7 +65,7 @@ public static void cleanupProcess() {
         * @return
         * @throws Exception
         */
    -   public static Process build(String logname, File location, boolean 
hook, String... args) throws Exception {
    +   public static Process build(String logname, File location, boolean 
hook, String[] args, String[] properties) throws Exception {
    --- End diff --
    
    You can see how it's used in the Camel example that I added. See the 
camel-broker/pom.xml:
    ```
    <properties>
       <!-- define the "war" property so it can be used in bootstrap.xml -->
       <param>war=camel-war-${project.version}.war</param>
    </properties>
    ```
    Keep in mind, this is a change used by the Maven plugin as it is the only 
user of org.apache.activemq.artemis.cli.process.ProcessBuilder#build.  There's 
no help information for the plugin that I'm aware of.


> Create a Camel example 
> -----------------------
>
>                 Key: ARTEMIS-1931
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1931
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>
> Camel is a common component leveraged by users.  It would be good to have an 
> example demonstrating how to use Camel and the broker in the same JVM.



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

Reply via email to