You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/09/08 11:37:46 UTC

[GitHub] [camel-quarkus] ppalaga opened a new issue #1739: JT400 native support

ppalaga opened a new issue #1739:
URL: https://github.com/apache/camel-quarkus/issues/1739


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] eamazaj commented on issue #1739: JT400 native support

Posted by GitBox <gi...@apache.org>.
eamazaj commented on issue #1739:
URL: https://github.com/apache/camel-quarkus/issues/1739#issuecomment-697064463


   I am trying to call a PGM program with apache camel 3.5.0, but from Jt400Type it doesn't support PGM type:
   
   Example:
   
   from(jt400://DEMO678:xxxxx@host/QSYS.LIB/DEMO6781.LIB/HELLO.PGM)
       .to(direct:demo)
   
   StackTrace:
   
   2020-09-22 19:59:05,714 ERROR [io.qua.application] (Quarkus Main Thread) Failed to start application (with profile dev): java.lang.RuntimeException: org.apache.camel.FailedToStart
   RouteException: Failed to start route route1 because of null
           at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:47)
   
   Caused by: org.apache.camel.FailedToStartRouteException: Failed to start route route1 because of null
           at org.apache.camel.impl.engine.RouteService.warmUp(RouteService.java:124)
   
   Caused by: javax.naming.OperationNotSupportedException
           at org.apache.camel.component.jt400.Jt400Endpoint.createConsumer(Jt400Endpoint.java:101)
   
   
   **Will this improvement be added in future versions?**
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] davsclaus commented on issue #1739: JT400 native support

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #1739:
URL: https://github.com/apache/camel-quarkus/issues/1739#issuecomment-697822866


   This is not the place to ask for JT400 help with Camel, see here
   https://camel.apache.org/community/support/


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] eamazaj removed a comment on issue #1739: JT400 native support

Posted by GitBox <gi...@apache.org>.
eamazaj removed a comment on issue #1739:
URL: https://github.com/apache/camel-quarkus/issues/1739#issuecomment-697817121


   > The PGM cannot be in from, but you can use it in to, so do
   > 
   > from timer foo
   > to jt400 pgm
   
   It does not work because it does not load the parameters of the uri outputFieldsIdxArray outputFieldsLengthArray in the Jt400Configuration class, according to the documentation that would be enough. But it does not work.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] eamazaj commented on issue #1739: JT400 native support

Posted by GitBox <gi...@apache.org>.
eamazaj commented on issue #1739:
URL: https://github.com/apache/camel-quarkus/issues/1739#issuecomment-697064463


   I am trying to call a PGM program with apache camel 3.5.0, but from Jt400Type it doesn't support PGM type:
   
   Example:
   
   from(jt400://DEMO678:xxxxx@host/QSYS.LIB/DEMO6781.LIB/HELLO.PGM)
       .to(direct:demo)
   
   StackTrace:
   
   2020-09-22 19:59:05,714 ERROR [io.qua.application] (Quarkus Main Thread) Failed to start application (with profile dev): java.lang.RuntimeException: org.apache.camel.FailedToStart
   RouteException: Failed to start route route1 because of null
           at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:47)
   
   Caused by: org.apache.camel.FailedToStartRouteException: Failed to start route route1 because of null
           at org.apache.camel.impl.engine.RouteService.warmUp(RouteService.java:124)
   
   Caused by: javax.naming.OperationNotSupportedException
           at org.apache.camel.component.jt400.Jt400Endpoint.createConsumer(Jt400Endpoint.java:101)
   
   
   **Will this improvement be added in future versions?**
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] davsclaus commented on issue #1739: JT400 native support

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #1739:
URL: https://github.com/apache/camel-quarkus/issues/1739#issuecomment-697123225


   The PGM cannot be in from, but you can use it in to, so do
   
   from timer foo
     to jt400 pgm


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] eamazaj commented on issue #1739: JT400 native support

Posted by GitBox <gi...@apache.org>.
eamazaj commented on issue #1739:
URL: https://github.com/apache/camel-quarkus/issues/1739#issuecomment-697817121


   > The PGM cannot be in from, but you can use it in to, so do
   > 
   > from timer foo
   > to jt400 pgm
   
   It does not work because it does not load the parameters of the uri outputFieldsIdxArray outputFieldsLengthArray in the Jt400Configuration class, according to the documentation that would be enough. But it does not work.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org