What kind of proxy are you trying to use? Also, in the future please direct questions like this to the ActiveMQ *users* mailing list [1]. This is the dev list for folks working directly on an ActiveMQ code-base.
Justin [1] https://activemq.apache.org/contact On Sat, Jan 6, 2024 at 11:30 AM Sunil Kumar <sunilkuma...@gmail.com> wrote: > Hi, > > i am working on ActiveMQ using c#. I need help in setting the proxy while > connecting to the broker using ConnectionFactory > > IConnectionFactory factory = new > ConnectionFactory("ssl://mybrokerurl:4040"); > _connection = factory.CreateConnection(_userName, _password); > _connection.Start(); > _session = _connection.CreateSession(); > > I get this exception at line 2: Error connecting to mybrokerurl:4040. > InnerException: Unknown error (0xfffffffe) > > I didn't find a way to set proxy. Please help > > Thanks, > Sunil >