Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge JMS queue action doesn't support variable substitution #257

Closed
gucce opened this Issue Jun 14, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@gucce
Copy link
Contributor

gucce commented Jun 14, 2017

Problem

In Citrus (2.7.1) the purge-jms-queues test action doesn't support variable substitution.

The following does not work even though my.jms.queue.name is defined as Citrus variable.

<jms:purge-jms-queues connection-factory="myJmsConFactory">
    <jms:description>Purge the EPOST JMS queue before test run</jms:description>
    <jms:queue name="${my.jms.queue.name}"/>
</jms:purge-jms-queues>

This should definitely be possible.

Solution

Substitute variable placeholders before executing the test action.

@christophd christophd added the READY label Jun 28, 2017

@christophd christophd added this to the v2.7.2 milestone Jun 28, 2017

@christophd christophd removed the READY label Jun 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.