Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# 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
1. 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 with `java.property`.
   For example, using the CLI,

       Channels.TestChannel.disableHttpMethods=GET

   For example, using TIBCO BusinessEvents Studio,

       java.property.Channels.TestChannel.disableHttpMethods=GET

2. 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 with `java.property`.
   For example, using the CLI

       Channels.TestChannel.getData.disableHttpMethods=POST

   For example, using TIBCO BusinessEvents Studio,

       java.property.Channels.TestChannel.getData.disableHttpMethods=POST

   Note: Security constraints are added to the `web.xml` file of the WebStudio. If you use OPTIONS, TRACE, and TRACK methods, a 403 forbidden error occurs.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.