Neuron ESB User Network

The Service Bus for the Connected Business

Is there a way to know the direction of follow in the process pipeline C# code block?

Views: 156

Reply to This

Replies to This Discussion

Do you mean which event the process is configured to execute on?

Yes from the C# code block is there a way to programmatically discover whether the message is being sent or being received?

Can you describe what you are trying to achieve?  There is not a property on the message that states if it's being sent or received.  But based on what you're end goal is we can provide a few suggestions to get you there.

I have created a couple of custom adapters.  One of the features of the custom adapters is to publish error and exceptions to the bus so that another logging subscriber can log them to our custom logging system.  The issue I am running into is if I log to our custom logging system in the process code blocks I get double log entries for the process blocks that are attached to publishing parties because the exception is re-thrown to allow the adapter to handle the cancelled state and log the errors.  However, for processes that are connected to subscriber parties, there is no adapter to receive the re-throw, so it needs to log the error/exception.  I want to write a generic shared exception handling code block that both types of process (receiving and sending) can share, logging where needed and not logging where needed.

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