On Sun, May 31, 2009 at 1:27 PM, Eric Bouer <[email protected]> wrote: > > Yes I'm using 2.0M1, > I assumed that all documented features are already implemented in the M1 > release. > Holding my breath for M2. > Many thanks and sorry for bothering. > :) No problem. Yeah we are in a kind of intermediate stage. And the online wiki documentation is a view of the trunk (latest).
As its laid out we cannot easily do version specific online html pages. However there is a manual that is released with each release. The manual is in pdf and html and is a current snapshot of the wiki pages at the time of release. So you can browse the 2.0m1 manual and see what options exist. But the 2.0 should be out in the summer 2009. And when Hadrian have time to cut the 2.0m2 we will release it as its ready. > > > Claus Ibsen-2 wrote: >> >> Hi >> >> Are you using Camel 2.0m1? >> >> These options are added after the 2.0m1 release. >> You can wait for 2.0m2 or try the SNAPSHOT releases. >> >> Details about snapshot at the downloads page how to get it using >> maven, or where to find a .zip with the entire release. >> http://camel.apache.org/download.html >> >> >> On Sun, May 31, 2009 at 12:27 PM, Eric Bouer <[email protected]> wrote: >>> >>> Hello. >>> Can you please help me figure out why camel 2.0 JMS options on >>> http://camel.apache.org/jms.html this page (the highlighted) are not >>> working in my project ? >>> I tried jmsMessageType , jmsKeyFormatStrategy and few others. >>> >>> This is how I configure my endpoint: >>> ConnectionFactory connectionFactory = new >>> ActiveMQConnectionFactory("failover:(discovery:(multicast://default),tcp://localhost:61616)"); >>> getCamelcontext().addComponent("AMQComponent1", >>> JmsComponent.jmsComponent(connectionFactory)); >>> >>> My route: >>> from("AMQComponent1:queue:QClientToServer?concurrentConsumers=2&jmsMessageType=Text").to("seda:a"); >>> >>> I have this in my POM: >>> <dependency> >>> <groupId>org.apache.camel</groupId> >>> <artifactId>camel-jms</artifactId> >>> <version>2.0-M1</version> >>> <scope>compile</scope> >>> </dependency> >>> dependency> >>> <groupId>org.apache.camel</groupId> >>> <artifactId>camel-core</artifactId> >>> <version>2.0-M1</version> >>> <scope>compile</scope> >>> </dependency> >>> <dependency> >>> <groupId>org.apache.camel</groupId> >>> <artifactId>camel-jaxb</artifactId> >>> <version>2.0-M1</version> >>> <scope>compile</scope> >>> </dependency> >>> <dependency> >>> <groupId>org.apache.activemq</groupId> >>> <artifactId>activemq-core</artifactId> >>> <version>5.2.0</version> >>> <scope>compile</scope> >>> </dependency> >>> <dependency> >>> <groupId>org.apache.activemq</groupId> >>> <artifactId>activemq-camel</artifactId> >>> <version>5.2.0</version> >>> <scope>compile</scope> >>> </dependency> >>> >>> I get the following exception: >>> >>> INFO DefaultCamelContext:729 - Apache Camel 2.0-M1 (CamelContext:camel-1) >>> is >>> starting >>> Exception in thread "main" >>> org.apache.camel.ResolveEndpointFailedException: >>> Failed to resolve endpoint: >>> AMQComponent1:queue:QClientToServer?concurrentConsumers=2&jmsMessageType=Text >>> due to: org.apache.camel.ResolveEndpointFailedException: Failed to >>> resolve >>> endpoint: >>> AMQComponent1:queue:QClientToServer?concurrentConsumers=2&jmsMessageType=Text >>> due to: There are 1 parameters that couldn't be set on the endpoint. >>> Check >>> the uri if the parameters are spelt correctly and that they are >>> properties >>> of the endpoint. Unknown parameters=[{jmsMessageType=Text}] >>> at >>> org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:378) >>> at >>> org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:52) >>> at >>> org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:133) >>> at >>> org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:103) >>> at >>> org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:109) >>> at >>> org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72) >>> at >>> org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:78) >>> at >>> org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:302) >>> at >>> org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:121) >>> at >>> org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:481) >>> at >>> org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:777) >>> at >>> org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:759) >>> at >>> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:50) >>> ... >>> >>> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to >>> resolve endpoint: >>> AMQComponent1:queue:QClientToServer?concurrentConsumers=2&jmsMessageType=Text >>> due to: There are 1 parameters that couldn't be set on the endpoint. >>> Check >>> the uri if the parameters are spelt correctly and that they are >>> properties >>> of the endpoint. Unknown parameters=[{jmsMessageType=Text}] >>> at >>> org.apache.camel.impl.DefaultComponent.validateParameters(DefaultComponent.java:115) >>> at >>> org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:93) >>> at >>> org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:359) >>> ... 13 more >>> >>> >>> Regards. >>> Eric. >>> -- >>> View this message in context: >>> http://www.nabble.com/Camel-2.0-JMS-options-are-not-working-tp23801797p23801797.html >>> Sent from the Camel - Users mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> Claus Ibsen >> Apache Camel Committer >> >> Open Source Integration: http://fusesource.com >> Blog: http://davsclaus.blogspot.com/ >> Twitter: http://twitter.com/davsclaus >> >> > > -- > View this message in context: > http://www.nabble.com/Camel-2.0-JMS-options-are-not-working-tp23801797p23802213.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
