이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 10. jms


10.1. jms:browse

10.1.1. Description

Browse a JMS queue

10.1.2. Syntax

jms:browse [options] connectionFactory queue

10.1.3. Arguments

NameDescription

connectionFactory

The JMS connection factory name

queue

The JMS queue to browse

10.1.4. Options

NameDescription

--help

Display this help message

-v, --verbose

Display JMS properties

-s, --selector

The selector to select the messages to browse

-p, --password

Password to connect to the JMS broker

-u, --username

Username to connect to the JMS broker

10.2. jms:connectionfactories

10.2.1. Description

List the JMS connection factories

10.2.2. Syntax

jms:connectionfactories [options]

10.2.3. Options

NameDescription

--help

Display this help message

10.3. jms:consume

10.3.1. Description

Consume messages from a JMS queue.

10.3.2. Syntax

jms:consume [options] connectionFactory queue

10.3.3. Arguments

NameDescription

connectionFactory

The JMS connection factory name

queue

The JMS queue where to consume messages

10.3.4. Options

NameDescription

--help

Display this help message

-s, --selector

The selector to use to select the messages to consume

-p, --password

Password to connect to the JMS broker

-u, --username

Username to connect to the JMS broker

10.4. jms:count

10.4.1. Description

Count the number of messages on a JMS queue.

10.4.2. Syntax

jms:count [options] connectionFactory queue

10.4.3. Arguments

NameDescription

connectionFactory

The JMS connection factory name

queue

The JMS queue name

10.4.4. Options

NameDescription

--help

Display this help message

-p, --password

Password to connect to the JMS broker

-u, --username

Username to connect to the JMS broker

10.5. jms:create

10.5.1. Description

Create a JMS connection factory.

10.5.2. Syntax

jms:create [options] name

10.5.3. Arguments

NameDescription

name

The JMS connection factory name

10.5.4. Options

NameDescription

--help

Display this help message

-t, --type

The JMS connection factory type (ActiveMQ, Artemis or WebsphereMQ)

--url

URL of the JMS broker. For WebsphereMQ type, the URL is hostname/port/queuemanager/channel

-p, --password

Password to connect to the JMS broker

-u, --username

Username to connect to the JMS broker

10.6. jms:delete

10.6.1. Description

Delete a JMS connection factory

10.6.2. Syntax

jms:delete [options] name

10.6.3. Arguments

NameDescription

name

The JMS connection factory name

10.6.4. Options

NameDescription

--help

Display this help message

10.7. jms:info

10.7.1. Description

Provides details about a JMS connection factory.

10.7.2. Syntax

jms:info [options] connectionFactory

10.7.3. Arguments

NameDescription

connectionFactory

The JMS connection factory name

10.7.4. Options

NameDescription

--help

Display this help message

-p, --password

Password to connect to the JMS broker

-u, --username

Username to connect to the JMS broker

10.8. jms:move

10.8.1. Description

Move messages from one JMS queue to another one.

10.8.2. Syntax

jms:move [options] connectionFactory source destination

10.8.3. Arguments

NameDescription

connectionFactory

The JMS connection factory name

source

The source JMS queue

destination

The destination JMS queue

10.8.4. Options

NameDescription

--help

Display this help message

-s, --selector

Selector to move only some messages

-p, --password

Password to connect to the JMS broker

-u, --username

Username to connect to the JMS broker

10.9. jms:queues

10.9.1. Description

List the JMS queues.

10.9.2. Syntax

jms:queues [options] connectionFactory

10.9.3. Arguments

NameDescription

connectionFactory

The JMS connection factory name

10.9.4. Options

NameDescription

--help

Display this help message

-p, --password

Password to connect to the JMS broker

-u, --username

Username to connect to the JMS broker

10.10. jms:send

10.10.1. Description

Send a message to

10.10.2. Syntax

jms:send [options] connectionFactory queue message

10.10.3. Arguments

NameDescription

connectionFactory

The JMS connection factory name

queue

The JMS queue name

message

The JMS message content

10.10.4. Options

NameDescription

--help

Display this help message

-r, --replyTo

Set the message ReplyTo

-p, --password

Password to connect to the JMS broker

-u, --username

Username to connect to the JMS broker

10.11. jms:topics

10.11.1. Description

List the JMS topics.

10.11.2. Syntax

jms:topics [options] connectionFactory

10.11.3. Arguments

NameDescription

connectionFactory

The JMS connection factory name

10.11.4. Options

NameDescription

--help

Display this help message

-p, --password

Password to connect to the JMS broker

-u, --username

Username to connect to the JMS broker

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.