Hi all, my team is trying to use a TCP connection, with no positive results as yet. I have included code here, as well as the error they are receiving. Any insight as to what is going on would be greatly appreciated.
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.IO;
using Apache.NMS;
using Apache.NMS.ActiveMQ;
public class ActiveMqTest1 : MonoBehaviour
{
public static IConnectionFactory factory;
public static IConnection connection;
public static ISession session;
public static bool readyToConsumer = false;
public void Awake()
{
factory = new ConnectionFactory("tcp://xxxxxxx:61616/");
connection = factory.CreateConnection("admin","admin");
}
}
The error they are receiving is as follows:
NMSConnectionException: Error creating transport.
Apache.NMS.ActiveMQ.Transport.TransportFactory.CreateTransportFactory (System.Uri location)
Thank you in advance for any assistance you may have.