[esb-issues] [JBoss JIRA] Created: (JBESB-1194) AbstractFileGateway has invalid responder test

Kevin Conner (JIRA) jira-events at lists.jboss.org
Wed Oct 17 11:44:03 EDT 2007


AbstractFileGateway has invalid responder test
----------------------------------------------

                 Key: JBESB-1194
                 URL: http://jira.jboss.com/jira/browse/JBESB-1194
             Project: JBoss ESB
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Transports
    Affects Versions: 4.2.1 IR1
            Reporter: Kevin Conner
         Assigned To: Kevin Conner
             Fix For: 4.2.1 IR2


The AbstractFileGateway has an invalid test for responder, intended for LegacyMessageComposerAdapter.

The test result is passed into ListenerUtil.getMaxMillisGatewayWait as an additional check but it is not needed.

Any message composer which is not a LegacyMessageComposerAdapter will always fail the call to get max millis as the default value of the test is false.

The test actually serves no purpose as the existence of the responder is checked when the configuration is created and an exception thrown if invalid.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list