camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Watson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10271) camel-jt400 - Failed to resolve endpoint
Date Tue, 06 Sep 2016 10:15:20 GMT

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

Michael Watson commented on CAMEL-10271:
----------------------------------------

will do. sadly i cant get out of this network using git, so have to pull and rebuild the whole
source. takes a while.....

> camel-jt400 - Failed to resolve endpoint
> ----------------------------------------
>
>                 Key: CAMEL-10271
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10271
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jt400
>    Affects Versions: 2.17.3
>            Reporter: Michael Watson
>            Assignee: Claus Ibsen
>             Fix For: 2.18.0, 2.17.4
>
>
> Apologies for creating this in core, as there does not seem to be an entry  for camel-jt400
(but the jar is distributed with 2.17.3)
> Creating a data queue end point using JT400 as per the documentation crashes out when
the endpoint creation starts. This seems identical to the SNMP issue CAMEL-8479 (as it produces
identical output other than the component name). Ideally the JT400Endpoint would be updated
to return true for isLenient, or the default properties would be cleared prior to DefaultEndpoint.createEndpoint
being called. Have not been able to find how the original SNMP issue was corrected and have
been unable to find a workaround for it.
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
jt400://XXXX:XXXX@alpha8.mdsuk.com/QSYS.LIB/AAAAAAAA.LIB/SENDJOB.DTAQ?consumer.initialDelay=2000&format=binary
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=[{backoffMultiplier=0, sendEmptyMessageWhenIdle=false, schedulerProperties=null,
initialDelay=2000, backoffIdleThreshold=0, scheduler=null, delay=500, useFixedDelay=true,
pollStrategy=org.apache.camel.impl.DefaultPollingConsumerPollStrategy@2172f79b, startScheduler=true,
runLoggingLevel=TRACE, backoffErrorThreshold=0, greedy=false, scheduledExecutorService=null,
timeUnit=MILLISECONDS}]
> 	at org.apache.camel.impl.DefaultEndpoint.configureConsumer(DefaultEndpoint.java:510)
~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.component.jt400.Jt400Endpoint.createConsumer(Jt400Endpoint.java:92)
~[camel-jt400-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:69)
~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:103) ~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.RouteService.warmUp(RouteService.java:158) ~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3496)
~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3426)
~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3203)
~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3059)
~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)
~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2854) ~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2850) ~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2873)
~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2850)
~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2819) ~[camel-core-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:270)
~[camel-spring-2.17.3.jar!/:2.17.3]
> 	at org.apache.camel.spring.SpringCamelContext.afterPropertiesSet(SpringCamelContext.java:122)
~[camel-spring-2.17.3.jar!/:2.17.3]
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
~[spring-beans-4.3.0.RELEASE.jar!/:4.3.0.RELEASE]
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
~[spring-beans-4.3.0.RELEASE.jar!/:4.3.0.RELEASE]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message