I can reproduce the error and just created a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-8479
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On March 10, 2015 at 5:31:03 PM, gmanev (gma...@jjinterna.com) wrote: > Hello > > The TrapReceiveTest test case from camel-snmp component passes with 2.14.1 > and fails with 2.15-SNAPSHOT. Are there any additional requirements using > the trap receiver? I am sending the stack trace below. > > org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: > snmp://127.0.0.1:1662?protocol=udp&type=TRAP due to: There are 15 parameters > that couldn't be set on the endpoint consumer. Check the uri if the > parameters are spelt correctly and that they are properties of the endpoint. > Unknown consumer parameters=[{sendEmptyMessageWhenIdle=false, > scheduler=null, greedy=false, initialDelay=1000, startScheduler=true, > pollStrategy=org.apache.camel.impl.DefaultPollingConsumerPollStrategy@692ccbba, > > backoffErrorThreshold=0, timeUnit=MILLISECONDS, > scheduledExecutorService=null, schedulerProperties=null, useFixedDelay=true, > delay=60000, backoffMultiplier=0, runLoggingLevel=TRACE, > backoffIdleThreshold=0}] > at > org.apache.camel.impl.DefaultEndpoint.configureConsumer(DefaultEndpoint.java:439) > > at > org.apache.camel.component.snmp.SnmpEndpoint.createConsumer(SnmpEndpoint.java:100) > > at > org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:65) > > at > org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:85) > at org.apache.camel.impl.RouteService.warmUp(RouteService.java:158) > at > org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3090) > > at > org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3020) > at > org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:2797) > > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:2653) > > at > org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:167) > > at > org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2467) > > at > org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2463) > > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2486) > at > org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2463) > > at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) > at > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2432) > > at > org.apache.camel.test.junit4.CamelTestSupport.startCamelContext(CamelTestSupport.java:477) > > at > org.apache.camel.test.junit4.CamelTestSupport.doSetUp(CamelTestSupport.java:311) > > at > org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:217) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) > > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) > > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) > > at > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) > > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) > at > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) > at org.junit.runners.ParentRunner.run(ParentRunner.java:236) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) > > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) > > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) > > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) > > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) > > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) > > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-snmp-TrapReceiveTest-fails-tp5763888.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >