Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1104

Type converters not working in ServiceMix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2
    • servicemix-camel
    • None

    Description

      Currently, the Camel type converters do not work inside ServiceMix. Consider this example (replacing the eip:wire-tap in our tutorial using Camel)

            from("jbi:service:urn:servicemix:tutorial:wiretap")
               .convertBodyTo(DOMSource.class)
               .to("jbi:endpoint:urn:servicemix:tutorial:jms:myQueue", "jbi:endpoint:urn:servicemix:tutorial:file:sender");
      

      The snippet intends to convert the StreamSource, coming from the <file:poller/> to a DOMSource for sending it to both other endpoints, but conversion never happens. Haven't really looked into this, but it might be a classloading issue..

      Attachments

        Activity

          People

            Unassigned Unassigned
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: