Neuron ESB User Network

The Service Bus for the Connected Business

I'm attempting to create a Service Connector with transactions enabled. The point being I would like messages only to be popped from Neuron queues when a 200 is received from the Service Endpoint.

At the moment, i can only set the binding setting Message Pattern to Datagram with its corresponding service endpoint configured for one-way - with this however as you can image there is no transactional integrity. If i set it to Request-Reply the message never gets delivered.

I'd like to set my Service Connector to  "Request-Reply" and corresponding endpoint to two-way. Does anybody know if this is possible?

Views: 189

Reply to This

Replies to This Discussion

Hi John,

if you use Neuron transactions set to enabled on a service connector, then if the service connector binding supports transactions, it will be enlisted in the underlying topic.

if you are using net.msmq bindings, this would restrict you to datagram, rather than request/reply as that's the limitation of the WCF binding, but you will still have the transaction support.

I think we may need to see exactly what you're doing though.....there really isn't enough info in your post to provide you with a solution.

we can setup a live meeting later today to assist you.

kind regards,

Marty

Hi Marty,

Thanks for your time last week.

As per our call, I've changed the bindings on Service endpoint to allow for the transactions to work. However, I am having trouble publishing to the endpoint. 

My question is do i have my binding set up correctly (below), and does Neuron wire up the internals of the service to the MSMQ for WAS? 

My Client connector  URL is defined as : net.msmq://myserver.mydomain.com:9000

And i use the following code to connect to it

using (var chan = new ChannelFactory<IOutputChannel>(

     new NetMsmqBinding(NetMsmqSecurityMode.None), new EndpointAddress(_endpoint)))
{
     var proxy = chan.CreateChannel();

     using (xmlReader = XmlReader.Create(

          new System.IO.MemoryStream(System.Text.Encoding.UTF8.GetBytes(_msg))))
     {
          using (reqMsg = Message.CreateMessage(chan.Endpoint.Binding.MessageVersion, _topic, xmlReader))
          {
               proxy.Send(reqMsg);
               reqMsg.Close();
          }
          xmlReader.Close();
     }
     proxy.Close();
     chan.Close();
}

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service