Skip to content

Document "path" Attribute of HTTP Inbound Gateway in XSD Schema [INT-2458] #6439

@spring-operator

Description

@spring-operator

Gunnar Hillert opened INT-2458 and commented

The HTTP Inbound Channel Adapter has a "path" attribute (and since 2.1 the "name" attribute is consequently deprecated). However, the Inbound Gateway does not document the deprecation.

Also document behavioral changes for the HTTP Inbound Channel Adapter (Add a not to XSD):

Switching from "name" to "path" is not enough of a change. Just playing with an Http sample and this works (just logging the payload):

   <int-http:inbound-channel-adapter channel="receiveChannel"
                                     name="/receiveGateway" supported-methods="GET"/>   

But this does not:

   <int-http:inbound-channel-adapter channel="receiveChannel"
                                     path="/receiveGateway" supported-methods="GET"/>

Affects: 2.1 GA

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions