cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1351
Views
0
Helpful
0
Replies

ActiveMQ topic and address issue in VSOM 7.8

rrajamohan
Level 1
Level 1

Dear sir,

I have configured VSOM 7.8 server in our environment. I am running 7.8 SDK ActiveMQ sample project with following topic information. I am unable to get any response from VSOM7.8 server.

topic = "c.c.p.v.ism.location"

VsomListener listener = new VsomListener(vsomServices, amqConf);

   string broker = "tcp://" + hostNameIPaddress + ":61616";

   VsmTopicSubscriber subscriber = new VsmTopicSubscriber(Topic, broker, clientId, username, vsomServices.authInfo.SessionId, selector);

  subscriber.OnMessageReceived += new MessageReceivedDelegate(listener.SubscriberOnMessageReceived);

this.topicName = topicName;

   this.connectionFactory = new ConnectionFactory(brokerUri + "?jms.prefetchPolicy.all=50");

   this.connection = this.connectionFactory.CreateConnection(userName, password);

   this.session = connection.CreateSession(AcknowledgementMode.AutoAcknowledge);

   IDestination destination = session.GetTopic(topicName);

   this.consumer = session.CreateConsumer(destination, selector);

  consumer.Listener += new MessageListener(this.OnMessage);

The same code is working fine in VSOM 7.7.0 version.

Is there any change in the Topic string or TCP URL string. Please let me know. It very urgent

Note : ActiveMQ version : Apache.NMS.ActiveMQ-1.7.2-bin

Thank you,

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: