XMLWordPrintable

    • 0
    • 0% 0%

      Allow add/remove/edit JMS Bridge operations in Web Console. JMS Bridge is configured in messaging-activemq subsystem but it's not part of configuration of any messaging provider.

      In Configuration->Subsystem->Messaging-ActiveMQ there is operation "Add" for "Messaging Provider". On the same level should be add operation for JMS Bridges.

      When anyone clicks on Messaging-ActiveMQ subsystem the view should provide list of configured Messaging Providers as it's now and then also list of configured JMS Bridges.

      List of attributes which can be configured on JMS Bridge is:

      [standalone@localhost:9990 /] /subsystem=messaging-activemq/jms-bridge=myBridge:read-resource-description
      {
          "outcome" => "success",
          "result" => {
              "description" => "A JMS bridge instance.",
              "attributes" => {
                  "add-messageID-in-header" => {
                      "type" => BOOLEAN,
                      "description" => "If true, then the original message's message ID will be appended in the message sent to the destination in the header AMQ_BRIDGE_MSG_ID_LIST. If the message is bridged more than once, each message ID will be appended.",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "default" => false,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "client-id" => {
                      "type" => STRING,
                      "description" => "The JMS client ID to use when creating/looking up the subscription if it is durable and the source destination is a topic.",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "failure-retry-interval" => {
                      "type" => LONG,
                      "description" => "The amount of time in milliseconds to wait between trying to recreate connections to the source or target servers when the bridge has detected they have failed.",
                      "expressions-allowed" => true,
                      "nillable" => false,
                      "unit" => "MILLISECONDS",
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "max-batch-size" => {
                      "type" => INT,
                      "description" => "The maximum number of messages to consume from the source destination before sending them in a batch to the target destination. Its value must >= 1.",
                      "expressions-allowed" => true,
                      "nillable" => false,
                      "min" => 0L,
                      "max" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "max-batch-time" => {
                      "type" => LONG,
                      "description" => "The maximum number of milliseconds to wait before sending a batch to target, even if the number of messages consumed has not reached max-batch-size. Its value must be -1 to represent 'wait forever', or >= 1 to specify an actual time.",
                      "expressions-allowed" => true,
                      "nillable" => false,
                      "unit" => "MILLISECONDS",
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "max-retries" => {
                      "type" => INT,
                      "description" => "The number of times to attempt to recreate connections to the source or target servers when the bridge has detected they have failed. The bridge will give up after trying this number of times. -1 represents 'try forever'.",
                      "expressions-allowed" => true,
                      "nillable" => false,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "module" => {
                      "type" => STRING,
                      "description" => "The name of AS7 module containing the resources required to lookup source and target JMS resources.",
                      "expressions-allowed" => false,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "paused" => {
                      "type" => BOOLEAN,
                      "description" => "Whether the JMS bridge is paused.",
                      "expressions-allowed" => false,
                      "nillable" => false,
                      "access-type" => "read-only",
                      "storage" => "runtime"
                  },
                  "quality-of-service" => {
                      "type" => STRING,
                      "description" => "The desired quality of service mode (AT_MOST_ONCE, DUPLICATES_OK or ONCE_AND_ONLY_ONCE).",
                      "expressions-allowed" => true,
                      "nillable" => false,
                      "allowed" => [
                          "AT_MOST_ONCE",
                          "DUPLICATES_OK",
                          "ONCE_AND_ONLY_ONCE"
                      ],
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "selector" => {
                      "type" => STRING,
                      "description" => "A JMS selector expression used for consuming messages from the source destination. Only messages that match the selector expression will be bridged from the source to the target destination.",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "all-services"
                  },
                  "started" => {
                      "type" => BOOLEAN,
                      "description" => "Whether the JMS bridge is started.",
                      "expressions-allowed" => false,
                      "nillable" => false,
                      "access-type" => "read-only",
                      "storage" => "runtime"
                  },
                  "subscription-name" => {
                      "type" => STRING,
                      "description" => "The name of the subscription if it is durable and the source destination is a topic.",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "source-connection-factory" => {
                      "type" => STRING,
                      "description" => "The name of the source connection factory to lookup on the source messaging server.",
                      "attribute-group" => "source",
                      "expressions-allowed" => false,
                      "nillable" => false,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "source-context" => {
                      "type" => OBJECT,
                      "description" => "The properties used to configure the source JNDI initial context.",
                      "attribute-group" => "source",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "value-type" => STRING,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "source-destination" => {
                      "type" => STRING,
                      "description" => "The name of the source destination to lookup on the source messaging server.",
                      "attribute-group" => "source",
                      "expressions-allowed" => false,
                      "nillable" => false,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "source-password" => {
                      "type" => STRING,
                      "description" => "The password for creating the source connection.",
                      "attribute-group" => "source",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-constraints" => {"sensitive" => {
                          "credential" => {"type" => "core"},
                          "messaging-security" => {"type" => "messaging-activemq"}
                      }},
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "source-user" => {
                      "type" => STRING,
                      "description" => "The name of the user for creating the source connection.",
                      "attribute-group" => "source",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-constraints" => {"sensitive" => {
                          "credential" => {"type" => "core"},
                          "messaging-security" => {"type" => "messaging-activemq"}
                      }},
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "target-connection-factory" => {
                      "type" => STRING,
                      "description" => "The name of the target connection factory to lookup on the target messaging server.",
                      "attribute-group" => "target",
                      "expressions-allowed" => false,
                      "nillable" => false,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "target-context" => {
                      "type" => OBJECT,
                      "description" => "The properties used to configure the target JNDI initial context.",
                      "attribute-group" => "target",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "value-type" => STRING,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "target-destination" => {
                      "type" => STRING,
                      "description" => "The name of the target destination to lookup on the target messaging server.",
                      "attribute-group" => "target",
                      "expressions-allowed" => false,
                      "nillable" => false,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "target-password" => {
                      "type" => STRING,
                      "description" => "The password for creating the target connection.",
                      "attribute-group" => "target",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-constraints" => {"sensitive" => {
                          "credential" => {"type" => "core"},
                          "messaging-security" => {"type" => "messaging-activemq"}
                      }},
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "target-user" => {
                      "type" => STRING,
                      "description" => "The name of the user for creating the target connection.",
                      "attribute-group" => "target",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "min-length" => 1L,
                      "max-length" => 2147483647L,
                      "access-constraints" => {"sensitive" => {
                          "credential" => {"type" => "core"},
                          "messaging-security" => {"type" => "messaging-activemq"}
                      }},
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  }
              },
              "operations" => undefined,
              "notifications" => undefined,
              "children" => {}
          }
      }
      
      

            rhn-support-pfestoso_jira Phil Festoso (Inactive)
            rhn-engineering-jpallich Jiri Pallich
            Jan Kašík Jan Kašík
            Jan Kašík Jan Kašík
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: