[JIRA] (JENKINS-61181) JMS Plugin sends messages to an ActiveMQ topic instead of a queue

3 views
Skip to first unread message

vopros4@inbox.ru (JIRA)

unread,
Feb 21, 2020, 10:01:03 AM2/21/20
to jenkinsc...@googlegroups.com
T.K. Z.V created an issue
 
Jenkins / Bug JENKINS-61181
JMS Plugin sends messages to an ActiveMQ topic instead of a queue
Issue Type: Bug Bug
Assignee: Scott Hebert
Components: jms-messaging-plugin
Created: 2020-02-21 15:00
Environment: Jenkins 2.204.2, JMS Messaging Plugin 1.1.13
Priority: Major Major
Reporter: T.K. Z.V

To reproduce:
1. Create an ActiveMQ provider:
    In global Jenkins configuration under "CI Monitor" "JMS Messaging Providers" add an ActiveMQ provider.
    Enable "Use queues rather than topics."
    Set the provider name to e.g. "Provider1".
    Set other parameters as appropriate and save the configuration.
2. Create a pipeline project (other types may not work, bug https://issues.jenkins-ci.org/browse/JENKINS-61179).
3. Add a script that would only send a message to the provider created above:

pipeline {
agent any
    stages {
        stage('Hello') {
            steps {
                sendCIMessage failOnError: true, messageContent: '',
                  messageProperties: '', 
                  messageType: 'TestingStarted', 
                  overrides: [:], providerName: 'Provider1'
            }
        }
    }
}

4. Check the ActiveMQ server – a topic has been created rather than a queue.

Setting a different queue with "overrides" parameter does not help – the message still goes to a topic with the same name.

"waitForCIMessage" correctly works both with queues and topics.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages