Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-19104

camel-atlasmap fails reading input from camel property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • camel-quarkus-2.Next-GA
    • camel-quarkus-2.2-GA
    • Atlas Map
    • None
    • False
    • None
    • False
    • % %
    • Todo
    • Hide

      Download the provided Camel Quarkus project and run with:

      ./mvnw clean compile quarkus:dev

      The execution should throw the following warning/error messages:

      2022-05-17 10:25:42,965 WARN  [org.apa.cam.com.atl.AtlasMapEndpoint] (Camel (quarkus-camel-example-xml) thread #0 - timer://main) Null or non-String source document: docId='subscriber-response-59f8d293-17e6-4259-90f6-849d89aff1e1': Document='subscriber-response(ID:subscriber-response-59f8d293-17e6-4259-90f6-849d89aff1e1)', path='null'
      2022-05-17 10:25:42,967 ERROR [org.apa.cam.pro.err.DefaultErrorHandler] (Camel (quarkus-camel-example-xml) thread #0 - timer://main) Failed delivery for (MessageId: 6D15598740B0769-0000000000000000 on ExchangeId: 6D15598740B0769-0000000000000000). Exhausted after delivery attempt: 1 caught: io.atlasmap.api.AtlasException: Errors: [Cannot read field '/Individual/Name' of document 'subscriber-response-59f8d293-17e6-4259-90f6-849d89aff1e1', document is null: Document='subscriber-response(ID:subscriber-response-59f8d293-17e6-4259-90f6-849d89aff1e1)', path='/Individual/Name'], 

       

      Show
      Download the provided Camel Quarkus project and run with: ./mvnw clean compile quarkus:dev The execution should throw the following warning/error messages: 2022-05-17 10:25:42,965 WARN  [org.apa.cam.com.atl.AtlasMapEndpoint] (Camel (quarkus-camel-example-xml) thread #0 - timer: //main) Null or non- String source document: docId= 'subscriber-response-59f8d293-17e6-4259-90f6-849d89aff1e1' : Document= 'subscriber-response(ID:subscriber-response-59f8d293-17e6-4259-90f6-849d89aff1e1)' , path= ' null ' 2022-05-17 10:25:42,967 ERROR [org.apa.cam.pro.err.DefaultErrorHandler] (Camel (quarkus-camel-example-xml) thread #0 - timer: //main) Failed delivery for (MessageId: 6D15598740B0769-0000000000000000 on ExchangeId: 6D15598740B0769-0000000000000000). Exhausted after delivery attempt: 1 caught: io.atlasmap.api.AtlasException: Errors: [Cannot read field '/Individual/Name' of document 'subscriber-response-59f8d293-17e6-4259-90f6-849d89aff1e1' , document is null : Document= 'subscriber-response(ID:subscriber-response-59f8d293-17e6-4259-90f6-849d89aff1e1)' , path= '/Individual/Name' ],   

      When Camel sets one Camel property as an input source for AtlasMap, the camel-atlasmap component fails.

       

      Note: more than 1 Camel property seems not to be an issue.

              toigaras@redhat.com tomohisa igarashi
              bmesegue@redhat.com Bruno Meseguer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: