[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java

2019-12-13 Thread GitBox
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565456102 per @lburgazzoli > I think your issue is that the connection factory is instantiated at class constructions, you should move it to

[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java

2019-12-12 Thread GitBox
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565178346 @lburgazzoli, The PropertyInject method is desirable because everything can come from command line properties or from a config map. **I'd

[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java

2019-12-12 Thread GitBox
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565162313 using the values as keys directly also throws the error... @org.apache.camel.PropertyInject("my.uri") private String uri;

[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java

2019-12-12 Thread GitBox
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565161244 I get the same/similar error simply trying to hard code the values: @org.apache.camel.PropertyInject("test-jms") private String

[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java

2019-12-12 Thread GitBox
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565154571 @lburgazzoli, using the @PropertyInject Method is throwing the following error: >Exception in thread "main"

[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java

2019-12-12 Thread GitBox
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565080148 @davesargrad I was out of the office for a few days; however, I still don't have a great solution for this. The best solution I have come

[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java

2019-12-05 Thread GitBox
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-562288177 **Question:** How do I pass my connection factory URI as an argument? **Background:** I was able to connect to an ActiveMQ

[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java

2019-12-03 Thread GitBox
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-561262272 @davesargrad et all, Thank you for working through this. I will give this a shot. -John

[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java

2019-11-25 Thread GitBox
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-558212795 @davesargrad - When attempting to run a similar test to what you describe, I received the same dependency errors. I also tried to