• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF9.01 and ActiveMQ

Community Beginner ,
Feb 13, 2013 Feb 13, 2013

Copy link to clipboard

Copied

I am trying to accept JMS messages on my CF9.01 server from a queue on a remote server running ActiveMQ 5.7

The examples event gateway uses a Topic rather than a Queue.

I keep getting:

"Error","Thread-94","02/11/13","13:43:30",,"Error starting gateway MyTestActiveMQGateway: Queue.ABS"

javax.naming.NameNotFoundException: Queue.ABS

    at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java: 235)

    at javax.naming.InitialContext.lookup(InitialContext.java:392)

    at examples.ActiveMQ.JMSConsumeSession.<init>(Unknown Source)

    at examples.ActiveMQ.JMSConsumer.start(Unknown Source)

    at examples.ActiveMQ.JMSGateway.startGateway(Unknown Source)

    at coldfusion.eventgateway.GenericGateway.start(GenericGateway.java:118)

    at coldfusion.eventgateway.EventServiceImpl$GatewayStarter.run(EventServ iceImpl.java:1428)

Any ideas or examples?

Thanks,

Steve

TOPICS
Advanced techniques

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 17, 2013 Feb 17, 2013

What about

contextProperties=queue.abs

destinationName=abs

in place of

destinationName=queue.abs?

Votes

Translate

Translate
Community Expert ,
Feb 16, 2013 Feb 16, 2013

Copy link to clipboard

Copied

The error message is telling you that a queue of that name could not be found. The implementation of ActiveMQ in ColdFusion uses Topics as well as Queues. It depends on the settings you put in your configuration file. Could we see the contents of your config file?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 16, 2013 Feb 16, 2013

Copy link to clipboard

Copied

debug=yes

topic=no

username=some_user

password=somePassword

providerURL=ssl://xxx.xxx.xxx.xxx:61617

initialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory

connectionFactory=ConnectionFactory

destinationName=Queue.ABS

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 17, 2013 Feb 17, 2013

Copy link to clipboard

Copied

What about

contextProperties=queue.abs

destinationName=abs

in place of

destinationName=queue.abs?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 31, 2013 May 31, 2013

Copy link to clipboard

Copied

Thanks, that worked!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 01, 2013 Jun 01, 2013

Copy link to clipboard

Copied

LATEST

I am glad to hear that. Please kindly mark the question as answered. It would make it easier to be found by colleagues searching for answers to similar questions.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation