3 Replies Latest reply on Nov 2, 2009 12:10 AM by sdhavala

    FID - Attempting to set up HL7 listener

    rinerc

      I am new to FUSE, and I am trying to set up an HL7 endpoint that listens via TCP and routes the message to a local file.  I am trying to do this using FID.  I started by creating a new EIP project.  I created an EIP diagram, and created one generic endpoint routing to a file endpoint.  I created a spring element called hl7codec, and added the following to the XML:

       

       

       

      The generic endpoint is set up with the following URI:

       

      mina:tcp://localhost:8888?sync=true&codec=hl7codec

       

      I added camel-mina-1.6.1.2-fuse.jar and camel-hl7-1.6.1.2-fuse.jar to the project classpath.  When I attempt to start the server (FUSE ESB Server 4), it starts and goes to "Republish" status.  A netstat reveals that nothing is listening on port 8888.  I see no output that indicates what the problem is.  I already performed the workaround that allows "camel-mina" to be successfully installed, so I don't think that is the problem.  I have to be missing something, I'm just at a loss as to what it might be.  Any help will be greatly appreciated.

       

      Thanks,

       

      Robert Rine

        • 1. Re: FID - Attempting to set up HL7 listener
          sdhavala

          Hi Robert,

           

          May i know whether you have added the spring bean definition file to the EIP Diagram?

           

          Thanks & Regards,

          Satyam

          • 2. Re: FID - Attempting to set up HL7 listener
            rinerc

            I have not done anything to specifically link the spring bean definition file to the diagram.  I created the spring bean through FID by executing New->Spring Element, providing the project folder as the parent for the new spring element.  I added the xml for the bean (the "hl7codec" information) to the spring element.  I then set up my endpoints and tried to run.  Maybe I have missed a step in the creation of the bean.

             

            Thanks,

             

            Robert Rine

            • 3. Re: FID - Attempting to set up HL7 listener
              sdhavala

              Hi

               

              If you are using FID 1.2.1 or FID 1.2, You have to add the spring bean definition file to the EIP diagram using "Add Beans" button displayed in the "Properties" view of the EIP Diagram file.

               

              Thanks & Regards,

              Satyam

               

              Edited by: sdhavala on Nov 2, 2009 5:10 AM