3 Replies Latest reply on Jun 2, 2008 6:15 AM by kconner

    Pop gateway

    blep


      Hi,

      I need a POP gw for my application and I followed the wiki page found on http://wiki.jboss.org/wiki/UsingMailInflowWithJBossESB and I deployed the esb archive. Server settings were OK but messages are never read.

      I checked with a network sniffer to check autentication and everything were OK:

      POP Request: USER XXXX@fng.fr
      POP Response: +OK
      
      POP Request: PASS XXXXXXX
      POP Response: +OK User successfully logged on
      
      POP Request: STAT
      POP Response: +OK 6 4262


      POP Request: QUIT
      POP Response: +OK Microsoft Windows POP3 Service Version 1.0 <774807062@fng.FNG.local> signing off.

      As you can see, POP server replied to the gw that 6 messages are stored and the gw quit the service waiting till next poll, but the onMessage method from the class which implements MailListener is nerver invoked, and the mail content is never displayed in the logs.

      What setting did I missed?

      PS: The code is the one provided by the quickstart sample attached to the wiki page.

      Rgds

        • 1. Re: Pop gateway
          blep

          In the wiki, I noticed :

          __Please Note:__ JCA inflow does not work in 4.2GA because of an issue with jUDDI. You will need to build a distribution from HEAD in order to use it.


          But is this in ESB 4.2GA or in AS 4.2GA?

          I ask this question because ESB 4.3 has just been released and it's the one I use and for AS 4.3 is not released.

          Thanks for help!

          • 2. Re: Pop gateway
            blep

            I replaced the mail.jar inside mail-ra.rar with my own, built from sources found on http://anonsvn.jboss.org/repos/jbossas/trunk/connector/src/main/org/jboss/resource/adapter/mail/ .

            And it works! With the same configuration, the listener does not only log on but now it downloads messages from the server and they are posted into the ESB.

            I think you can consider this issue as closed.

            Regards.

            • 3. Re: Pop gateway
              kconner

              Great, thanks for letting us know.

              I'll get that page updated with a new version of the resource adapter.