You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "RafiIsaharov (via GitHub)" <gi...@apache.org> on 2024/01/01 13:19:49 UTC

[I] The Apache Camel not being able to find the Kamelet with the ID jms-apache-artemis-source [camel-karavan]

RafiIsaharov opened a new issue, #1042:
URL: https://github.com/apache/camel-karavan/issues/1042

   The camel-karavan service was installed in minikube v1.32.0 with the docker driver on Ubunto 22.04 via WSL2 on Windows 10
   created a simple project from https://github.com/apache/camel-karavan/tree/main/karavan-demo/jms-to-kafka
   
   When running via the Karavan UI example from the link above, getting an error:
   
   ```
   2024-01-01 09:43:39.856  WARN 15 --- [ ReloadOnDemand] support.RouteOnDemandReloadStrategy : Error reloading routes due to Failed to create route payment: Route(payment)[From[kamelet:jms-apache-artemis-source?broker... because of Failed to resolve endpoint: kamelet://jms-apache-artemis-source?brokerURL=tcp://172.28.132.151:61616&destinationName=payments&destinationType=queue due to: org.apache.camel.component.kamelet.KameletNotFoundException: Kamelet with id jms-apache-artemis-source not found in locations: file:/karavan/code,classpath:/kamelets,github:apache:camel-kamelets/kamelets. This exception is ignored.
   org.apache.camel.FailedToCreateRouteException: Failed to create route payment: Route(payment)[From[kamelet:jms-apache-artemis-source?broker... because of Failed to resolve endpoint: kamelet://jms-apache-artemis-source?brokerURL=tcp://172.28.132.151:61616&destinationName=payments&destinationType=queue due to: org.apache.camel.component.kamelet.KameletNotFoundException: Kamelet with id jms-apache-artemis-source not found in locations: file:/karavan/code,classpath:/kamelets,github:apache:camel-kamelets/kamelets
           at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:82) ~[camel-core-reifier-4.1.0.jar:4.1.0]
   ```
    
    
   ![image](https://github.com/apache/camel-karavan/assets/33138463/be459e60-32ef-4960-9c0d-ec49696dc710)
   
   Please help with this issue


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

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


Re: [I] The Apache Camel not being able to find the Kamelet with the ID jms-apache-artemis-source [camel-karavan]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #1042:
URL: https://github.com/apache/camel-karavan/issues/1042#issuecomment-1895427779

   Okay its the kamelet that uses the wrong dependency - it should use
   
           <dependency>
               <groupId>org.apache.activemq</groupId>
               <artifactId>artemis-jakarta-client-all</artifactId>
               <version>2.31.2</version>
           </dependency>


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


Re: [I] The Apache Camel not being able to find the Kamelet with the ID jms-apache-artemis-source [camel-karavan]

Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin closed issue #1042: The Apache Camel not being able to find the Kamelet with the ID jms-apache-artemis-source
URL: https://github.com/apache/camel-karavan/issues/1042


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


Re: [I] The Apache Camel not being able to find the Kamelet with the ID jms-apache-artemis-source [camel-karavan]

Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin commented on issue #1042:
URL: https://github.com/apache/camel-karavan/issues/1042#issuecomment-1881959850

   @davsclaus I can confirm that the following example  
   ```
   - route:
       id: route-f0b7
       nodePrefixId: route-d25
       from:
         id: from-130a
         uri: kamelet:jms-apache-artemis-source
         parameters:
           destinationName: test
           destinationType: queue
           brokerURL: tcp://localhost:61616
         steps:
           - log:
               id: log-e983
               message: ${body}
   
   ```
   throws exception with camel-jbang
   ```
   Error starting CamelContext (jms-demo) due to exception thrown: Failed to start route jms-apache-artemis-source-1 because of connectionFactory must be specified
   org.apache.camel.FailedToStartRouteException: Failed to start route jms-apache-artemis-source-1 because of connectionFactory must be specified
           at org.apache.camel.impl.engine.RouteService.setUp(RouteService.java:131) ~[camel-base-engine-4.3.0.jar:4.3.0]
           at org.apache.camel.impl.engine.InternalRouteStartupManager.doWarmUpRoutes(InternalRouteStartupManager.java:307) ~[camel-base-engine-4.3.0.jar:4.3.0]
           at org.apache.camel.impl.engine.InternalRouteStartupManager.safelyStartRouteServices(InternalRouteStartupManager.java:187) ~[camel-base-engine-4.3.0.jar:4.3.0]
           at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRoutes(InternalRouteStartupManager.java:144) ~[camel-base-engine-4.3.0.jar:4.3.0]
           at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:2778) ~[camel-base-engine-4.3.0.jar:4.3.0]
           at org.apache.camel.impl.engine.AbstractCamelContext.doStartContext(AbstractCamelContext.java:2459) [camel-base-engine-4.3.0.jar:4.3.0]
           at org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2414) [camel-base-engine-4.3.0.jar:4.3.0]
           at org.apache.camel.support.service.BaseService.start(BaseService.java:113) [camel-api-4.3.0.jar:4.3.0]
           at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2019) [camel-base-engine-4.3.0.jar:4.3.0]
           at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:208) [camel-core-engine-4.3.0.jar:4.3.0]
           at org.apache.camel.main.KameletMain.doStart(KameletMain.java:323) [camel-kamelet-main-4.3.0.jar:4.3.0]
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


Re: [I] The Apache Camel not being able to find the Kamelet with the ID jms-apache-artemis-source [camel-karavan]

Posted by "RafiIsaharov (via GitHub)" <gi...@apache.org>.
RafiIsaharov commented on issue #1042:
URL: https://github.com/apache/camel-karavan/issues/1042#issuecomment-1908361248

   Hi ,
   
   Thank you for letting me know the issue will be fixed in Camel 4.4. I am
   looking forward to the update!
   
   Best regards,
   Rafi
   
   On Wed, Jan 17, 2024 at 8:50 PM Claus Ibsen ***@***.***>
   wrote:
   
   > Okay will be fixed in Camel 4.4
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/camel-karavan/issues/1042#issuecomment-1896439879>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AH42OH63MQMKVC2LCRRUMULYPAMP3AVCNFSM6AAAAABBJA4ZTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGQZTSOBXHE>
   > .
   > You are receiving this because you authored the thread.Message ID:
   > ***@***.***>
   >
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


Re: [I] The Apache Camel not being able to find the Kamelet with the ID jms-apache-artemis-source [camel-karavan]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #1042:
URL: https://github.com/apache/camel-karavan/issues/1042#issuecomment-1896439879

   Okay will be fixed in Camel 4.4


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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


Re: [I] The Apache Camel not being able to find the Kamelet with the ID jms-apache-artemis-source [camel-karavan]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #1042:
URL: https://github.com/apache/camel-karavan/issues/1042#issuecomment-1895386771

   Its because of javax vs jakartaee - that seems to cause the CF to not be of correct type (jakartaee)


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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