- One of the user is working on camel-JT400 component.
- camel-jt400 feature is already installed. He gets following error:
JBossFuse:admin@batch-services-n1> Exception in thread "SpringOsgiExtenderThread-26" org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: jt400://EQINT:EQINT@<IP>/QSYS.LIB/KLIBPMT.LIB/CBWPSDQ.DTAQ?consumer.delay=1000 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=1000, backoffIdleThreshold=0, scheduler=null, delay=1000, useFixedDelay=true, pollStrategy=org.apache.camel.impl.DefaultPollingConsumerPollStrategy@5ceb3b5c, startScheduler=true, runLoggingLevel=TRACE, backoffErrorThreshold=0, greedy=false, scheduledExecutorService=null, timeUnit=MILLISECONDS}] at org.apache.camel.impl.DefaultEndpoint.configureConsumer(DefaultEndpoint.java:510) at org.apache.camel.component.jt400.Jt400Endpoint.createConsumer(Jt400Endpoint.java:92) at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:69) at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:103) at org.apache.camel.impl.RouteService.warmUp(RouteService.java:158) at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3496)
- It seems that this method of DefaultEndpoint class is being executed:
protected void configureConsumer(Consumer consumer) throws Exception { ------------- if (!this.isLenientProperties() && copy.size() > 0) { throw new ResolveEndpointFailedException(this.getEndpointUri(), "There are " + copy.size() + " 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=[" + copy + "]"); } }
- Jt400RouteTest junit testcase provided in camel codebase also doesn't execute completely, as the system property is null so test-case is bypassed.
- Endpoint Information:
EQU_Response_DataQ=jt400://EQINT:EQINT@<IP>/QSYS.LIB/KLIBPMT.LIB/CBWPSDQ.DTAQ?consumer.delay=1000
- Route is
<route id="read-equation-dataq" startupOrder="3"> <from uri="{{EQU_Response_DataQ}}" /> <setHeader headerName="EventType"> <constant>Equation-to-Sif</constant> </setHeader> <to uri="direct:ProcessEquationResponse" /> </route>
- is related to
-
ENTESB-8209 [camel-jt400] java.lang.NoClassDefFoundError: javax/crypto/SecretKey
- Closed
- links to