4 Replies Latest reply on Jul 26, 2010 6:42 AM by Andreas Riedel

    How to create my own gateway classes

    Andreas Riedel Newbie

      Hello.

       

      Take a look in the jbossesb-1.2.0.xsd, there exists a amount of predefined Providers:

      - jms-provider-type
      - jms-jca-provider
      - fs-provider
      - ftp-provider
      - sql-provider
      - hibernate-provider
      - jbr-provider
      - http-provider

       

      By defining the listener in the jboss-esb.xml no class is given, so I guess there can only be reference a fix set of Gateway Classes:

        SqlTableGatewayListener.java
        FileGatewayListener.java
        HibernateGatewayListener.java
        HttpGatewayListener.java
        JBossRemotingGatewayListener.java
        JmsGatewayListener.java

       

      So the question is:

      - is it possible to define my own provider.

      - how can I create my own Gateway Class or extend an existing.

      - is there an guide or tutorial explain what's to do.

       

      TIA

      Andreas