Disabling HTTP Methods at Channel and Destination Level
If required, you can disable specific HTTP methods on the native HTTP channel.
The HTTP methods can be disabled at the channel level and the destination level. You can also disable them at both levels and use the combination according to your requirement. For example, you can disable the GET method for a channel (TestChannel) and for the same channel (TestChannel) disable the POST method for a destination (getData). Then for that destination (getData) the GET and POST methods do not work, while for other destinations only the GET method is disabled.
Channels.TestChannel.disableHttpMethods=GET Channels.TestChannel.getData.disableHttpMethods=POST
- Procedure
- Add the
disableHttpMethods
system property at the channel level, in the system TRA file or the project's CDD file, to disable the specified HTTP methods for all destinations of the channel.<Channel Folder>.<Channel Name>.disableHttpMethods
Note: If you are using TIBCO BusinessEvents Studio, prefix the channel folder name withjava.property
.For example, using the CLI,Channels.TestChannel.disableHttpMethods=GET
For example, using TIBCO BusinessEvents Studio,java.property.Channels.TestChannel.disableHttpMethods=GET
- Add the
disableHttpMethods
system property at the destination level , in the system TRA file or the project's CDD file, to disable the specified HTTP methods for that destination of the channel.Regular destination - <Channel Folder>.<Channel Name>.<Destination Name>.disableHttpMethods
Pageflow destination - <Channel Folder>.<Channel Name>. <Context Path>.disableHttpMethods
Note: If you are using TIBCO BusinessEvents Studio, prefix the channel folder name withjava.property
.For example, using the CLIChannels.TestChannel.getData.disableHttpMethods=POST
For example, using TIBCO BusinessEvents Studio,java.property.Channels.TestChannel.getData.disableHttpMethods=POST