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

[Tempory Queue Subscriptions] Subscriptions are not shown in the Queue Subscription List #549

Open
pamod opened this issue Jun 12, 2017 · 0 comments

Comments

@pamod
Copy link
Contributor

pamod commented Jun 12, 2017

Steps

  1. Create a temporary queue subscription. Refer the following code.
  2. Now check the Queue Subscription List
    Issue : The subscription is not listed.

QueueConnectionFactory connFactory = (QueueConnectionFactory) ctx.lookup(CF_NAME);
QueueConnection queueConnection = connFactory.createQueueConnection();
queueConnection.start();

        QueueSession queueSession = queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);

        TemporaryQueue tempDestination = queueSession.createTemporaryQueue();
        System.out.println("TEMP Q NAME  : " +tempDestination.getQueueName());

        MessageConsumer queueReceiver = queueSession.createConsumer(tempDestination);

Referred from https://wso2.org/jira/browse/MB-1503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant