0 Replies Latest reply on May 20, 2010 5:20 PM by tacrow

    Fuse ESB Mail Poller 3.4.0.3

    tacrow

      We are using Fuse ESB 3.4.0.3, specifically the servicemix mail component to poll for new emails with attachments.

       

      The email message may not have any message and only attachments.  I have an SA with this mail poller and a servicemix bean to extract the file attachments.  I have included a BinaryFileMarshaler since the file attachments are not XML files.

       

      I see these errors when I run this SA:

       

      1.  :-1:-1: Premature end of file.

      INFO  - MyBean                         - Received exchange: InOnly[

        id: ID:192.168.221.139-128b78bd720-2:6

        status: Active

        role: provider

        service: vaultImporterBean

        endpoint: endpoint

        in: null

      ]

      INFO  - JBIContainer                   - Activating component for: container=ServiceMix,name=ID:192.168.221.139-128b78bd720-0:16 with service: null component: org.apache.servicemix.client.DefaultServiceMixClient@1c78f98

       

      or

      2.  :1:1: Content is not allowed in prolog.INFO  - JBIContainer                   - Activating component for: container=ServiceMix,name=ID:192.168.221.139-128b5fc9b10-0:289 with service: null component: org.apache.servicemix.client.DefaultServiceMixClient@1c60e18

      INFO  - ComponentMBeanImpl             - Initializing component: ID:192.168.221.139-128b5fc9b10-0:289

      INFO  - ComponentMBeanImpl             - Starting component: ID:192.168.221.139-128b5fc9b10-0:289

      INFO  - MyBean                         - Processed an  XML message in invalidMsgBean::onMessageExchange().

      INFO  - JBIContainer                   - Activating component for: container=ServiceMix,name=ID:192.168.221.139-128b5fc9b10-0:290 with service: null component: org.apache.servicemix.client.DefaultServiceMixClient@aa4965

       

      -


       

      The mail poller configuration in xbean.xml is as follows:

      <mail:poller service="c1vi:vaultMailPoller"

                       endpoint="pollerEndpoint"

                       targetService="c1vi:valExtBean"

                       period="$"

                       debugMode="$"

                       connection="$"

                       deleteProcessedMessages="$"

                       processOnlyUnseenMessages="$"            

           />

                        

                 

                  

      What is the cause for these errors?  Please clarify how I can fix them in this version of Fuse ESB if possible.  Thank you.