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

Babak Vahdat resolved CAMEL-7038.
---------------------------------

    Resolution: Fixed

Looking at {{org.apache.camel.guice.Main}} there was also a tiny bug I spotted 
as well about not closing an InputStream properly which I 
[fixed|https://github.com/apache/camel/commit/4ca362155eaced0453c1220affb86d896037ebb1]
 as well.

> tooling - Provide an option for the JNDI properties file by the Guice Maven 
> Plugin
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-7038
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7038
>             Project: Camel
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 2.12.2
>            Reporter: Babak Vahdat
>            Assignee: Babak Vahdat
>            Priority: Minor
>             Fix For: 2.13.0
>
>
> Currently there's a shortcoming with [the Guice Maven 
> Plugin|http://camel.apache.org/guice-maven-plugin.html] if people would like 
> to pass over an optional argument for the JNDI properties file.
> As an example see [this 
> example|https://github.com/apache/camel/blob/master/examples/camel-example-guice-jms/README.txt]
>  which makes use of {{exec-maven-plugin}}.
> Alternatively it would be nice to provide the same using our own Guice Maven 
> Plugin. That is instead of:
> {code}
> mvn exec:java
> {code}
> Do the same using:
> {code}
> mvn guice:run
> {code}
> or:
> {code}
> mvn guice:embedded
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to