Neuron ESB User Network

The Service Bus for the Connected Business

I am trying to write an adapter that will take our POS payment data, send an ack, run a transform on this data and then publish the transformed data. Currently this data is flowing into the ESB through a service endpoint (BasicHttp) but since the ack isn't happening, the host system times out and resends the data. So it sounds like a good case for an adapter. Are there any good examples of creating an adapter that does the above? Also there seems to be 2 types of Adapter Family choices (.net or WCF). What are the main differences between them and are there examples of both?

Thanks!

Views: 161

Reply to This

Replies to This Discussion

Probably the easiest choice it to create a .Net adapter. The other type of adapter is a WCF Line of Business adapter. The .Net adapter type is simply an adapter based on our Adapter API found in the Neuron.Esb.Adapters namespace in assembly Neuron.Esb.dll. You will want to extend the ESBAdapterBase class. It is not that difficult to create an adapter that will take a message off the bus and send it to a service endpoint. I have attached a sample adapter that will take a message from the bus and write it to disk.
Attachments:
Hey Ray,

You can probably use the same contract I left there for generic two way messages here. In the connect override simply start up your own servicehost.

In the body of the generic request reply method you can return the ack and then call RaiseReceiveFromEndpointEvent to get the message on the bus.

Please,

just advise that the project needs to be compiled against .Net 3.5 and not 4.+

It took me sometime to find the issue as I'm using VS 2012 and by default it set the version to 4.5

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