Neuron ESB User Network

The Service Bus for the Connected Business

Does the Neuron API support topic/pub/sub/etc creation?  I think that should be possible, but I can’t find any documentation or examples that show me how to do it.  Could you please reply with some examples and brief explanations of the object model and API used to do so.

Tags: API, Publisher, Subscriber, Topic

Views: 252

Reply to This

Replies to This Discussion

sure does.....I'll put together a sample and post it

Ok...here's an absolutely crazy looking Pizza Application that was built a few years back.  Just upgraded it for Neuron ESB 3.0.  Shows how to use some of our admin APIs to create Topics, Publishers, Subscribers, subscriptions with conditions...etc....

just create a new solution with 3.0...make it active and go online.  Run the Pizza App, create a new store....order a pizza, and you'll see all the topics and other artifacts get created in the online solution. you may have to refresh the Explorer by selecting close and and then connect again....but it will all be there

Attachments:

Works like a charm.  Thanks for the slice!

Okay, so I'm using the Neuron API to create topics.  I'm using the net/msmq channel type.

Is there an easy way to set the ESBTopic.ChannelProperties using the settings from a system.serviceModel/netMsmqBinding/binding element in web.config?

I'd rather not write my own config section handler for this.

I ended up using system.servicemodel and netMsmqBinding.

Since I couldn't find a way to directly use the C# NetMsmqBinding object, I started with Neuron MsmqChannelProperties and set a few specific properties according to the values I put in the service model binding definition.

Not being able to provide a C# base class binding object to a topic, however, keeps me from doing full auto discovery/configuration of topic transports via the system service model binding in web.config.

Food for thought...

That's a very helpful bit of code — thanks!

I'm writing a script to automate the deployment of custom adapters to Neuron using the classes in the Neuron.Esb.Administration namespace. Are you able tell me how I can get a list of the adapters that are registered with the neuron runtime? I.e., the adapter assemblies that exist in the Neuron ESB\<Instance Name>\Adapters directory and appear in the 'Adapter' drop-down when configuring the properties of an adapter in NeuronExplorer? I want to be able to validate that a new/updated adapter is correctly registered with the runtime before I try and set properties for it. (We're running Neuron 2.6.)

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