Neuron ESB User Network

The Service Bus for the Connected Business

Is there any guidance on using Neuron in ASP.NET? I see the SubscriberProxy class but the documentation is a little thin on the use of it. If it can only publish what is the best practice for subscribing via a web app?

Thanks!

Views: 165

Reply to This

Replies to This Discussion

You can just use the publisher API (not SubscriberProxy just the regular API Publisher object) or you can use a WCF proxy with IsOneWay=true and a Datagram client connector.

The publisher API is loosely typed, allows you to inject pipeline logic that is maintained centrally and allows driving your solution without worrying about WCF config sections, changing object arguments, SOAP etc.

The datagram client connector approach is a little lighter weight so it connects faster and allows you to keep the client tier free from using our dlls.

You don't have to make a service in advance if you go the WCF route. Just create your DataContract or if you want control your MessageContract and your interface that passes it. Then use a client connector set to Datagram and ChannelFactory and you're good to go.
I'm a little confused. In your first blog post you say "However, the Party classes (Subscriber, Publisher) were not designed for use in IIS" and the documentation seems to agree. So can we use the Publisher API in ASP.NET running on IIS? Just want to make sure that we don't do something that is a known no-no!
Simple, I've been kind of overruled by practical use we've seen work :)... To tell the truth I'm still not a huge fan of using the Party in IIS but it has proven itself for this kind of thing...

The reason I hesitate to champion it in IIS is the Party API has a lot built into it for use on the receive side which obviously requires state and I've always been concerned someone would try to get clever and use a Request semantic... Basically I've feared the abuse or mistakes that could occur if you didn't understand the innner workings..

But as I said many people have used it for publish only and done fine.

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