Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8616

Custom ESB Listener Requires is-gateway=true, But Causes Tools Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.2.1.M1, 3.3.0.M1
    • 3.2.0.CR1
    • esb
    • None
    • Hide

      Requires working in the XML editor only.

      Show
      Requires working in the XML editor only.

      Adding a custom listener produces requires an is-gateway="true" attribute on the listener.

      Example (note the is-gateway attribute on the listener)
      <service category="com.example.soa"
      description="Custom Listener Example" invmScope="GLOBAL" name="custom-listener-example">
      <listeners>
      <listener busidref="custom-provider-channel" name="custom-listener" is-gateway="true">
      <property name="gatewayClass" value="com.example.soa.listener.MyFileListener"/>
      </listener>
      </listeners>
      <actions mep="OneWay">
      <action class="com.example.soa.soa.action.ExtendedLogActionHandler" name="logBody">
      <property name="logLevel" value="INFO"/>
      <property name="logMessage" value="SUCCESS"/>
      </action>
      </actions>
      </service>

        1. jboss-esb.xml
          5 kB
          Brad Davis
        2. MyFileListener.java
          2 kB
          Brad Davis
        3. screenshot.139.jpg
          100 kB
          Brad Davis

            scabanovich Viacheslav Kabanovich (Inactive)
            brad.davis@amentra.com Brad Davis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: