Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-21012

camel-milvus: action name mismatch with embeddings

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.8.0
    • camel-milvus
    • None
    • Unknown

    Description

      The embedding component and the Milvus component in Camel have different behaviors when it comes to handling actions

      The embedding component requires the action name to be specified as a header:

      <setHeader name="CamelMilvusAction">
                  <constant>UPSERT</constant>
      </setHeader>
      

      However, this causes problems when using in combination with the Milvus embedding, because the transformer creates a InsertParam object.

      The problem is in the `private void upsert(Exchange exchange)` method from MilvusProducer.java. When we try to get the body of the message, we look for an `UpsertParam.class`.

      Attachments

        Issue Links

          Activity

            People

              acosentino Andrea Cosentino
              orpiske Otavio Rodolfo Piske
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: