Neuron ESB User Network

The Service Bus for the Connected Business

We have implemented a solution that exploit the socket adapter for the communication between two different neuron instances placed respectively in the DMZ and LAN network.

The DMZ instance expose a REST service that routes the message (through the socket adapter) to the LAN instance, which is responsible for fetching the data and replying.

The custom properties set in the reply message are not preserved in the message received from the socket adapter in the DMZ instance.

We tried using both HTTP.StatusCode, as well as creating a customer property to send back the real HTTP code both the solutions failed.

The "Include Metadata Properties" has been flagged on both the adapter endpoint but this seems not to work.

Is there anything I am missing?

Thank you very much

Fabrizio M.

Tags: adapter, socket

Views: 226

Reply to This

Replies to This Discussion

Hi Fabrizio. Can you check the socket adapters and see if the value of the "Body Only" property is set to true? This property should be set to false on both the client and the server socket adapter in order to send the complete ESBMessage object between the two adapters.

Hi Michael,

the property is set to false on both the socket adapt.

F.

I looked at our code and I do think that I see the problem. We have to treat request/reply messages specially for the socket adapters to route replies back correctly, and you are right in that it appears that we are not copying custom properties or HTTP headers. I can fix this for you today and will get you a new build with this fixed.

Thank you Michael, let me know when you are ready.

Are you going to include the fix to the previous (object disposed) error as well?

Thank you

Fabrizio M.

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