Neuron ESB User Network

The Service Bus for the Connected Business

I have a client connector which uses NetMsmqBinding and is the means by which our applications publish to Neuron. It works fine but I'd like to be able to apply specific binding settings to this service and can't figure out how this would be done.

Specifically, I'd like to be able to set the ReceiveErrorHandling property to Move (instead of Fault) if the service is unable to process the message. We'd like to dynamically publish to a topic based on SOAP Header Action and currently if the topic doesn't exist or if the publisher isn't subscribed to the topic, this causes the service to fault. How can I modify the default client connector service binding properties?

Views: 257

Reply to This

Replies to This Discussion

There are two different things you need to do here.  To modify the binding settings, you need to create a custom service binding.  You add the service binding on the Connections tab and click Service Bindings.  Add a new binding and enter the custom binding you want.  Similar to this:

<netMsmqBinding>
 <binding
       closeTimeout="TimeSpan"
       customDeadLetterQueue="Uri"
       deadLetterQueue="Uri"
       durable="Boolean"
       exactlyOnce="Boolean"
       maxBufferPoolSize="Integer"
       maxReceivedMessageSize="Integer"
       maxRetryCycles="Integer"
       name="string"
       openTimeout="TimeSpan"
       poisonMessageHandling="Disabled/EnabledIfSupported"
       queueTransferProtocol="Native/Srmp/SrmpSecure"
       receiveErrorHandling="Drop/Fault/Move/Reject"
       receiveTimeout="TimeSpan"
       receiveRetryCount="Integer"
       rejectAfterLastRetry="Boolean"
       retryCycleDelay="TimeSpan" 
       sendTimeout="TimeSpan"
       timeToLive="TimeSpan" 
       useActiveDirectory="Boolean"
       useMsmqTracing="Boolean"
       useSourceJournal="Boolean">
  <security>
   <message 
    algorithmSuite="Basic128/Basic192/Basic256/Basic128Rsa15/Basic256Rsa15/TripleDes/TripleDesRsa15/Basic128Sha256/Basic192Sha256/TripleDesSha256/Basic128Sha256Rsa15/Basic192Sha256Rsa15/Basic256Sha256Rsa15/TripleDesSha256Rsa15"
    clientCredentialType="None/Windows/UserName/Certificate/InfoCard "/>
    <transport
     msmqAuthenticationMode="None/WindowsDomain/Certificate"
     msmqEncryptionAlgorithm="RC4Stream/AES"
     msmqProtectionLevel="None/Sign/EncryptAndSign"
     msmqSecureHashAlgorithm="MD5/SHA1/SHA256/SHA512" />
  </security>
  <readerQuotas
   maxArrayLength="Integer"
   maxBytesPerRead="Integer"
   maxDepth="Integer"
   maxNameTableCharCount="Integer"
   maxStringContentLength="Integer" />
 </binding>
</netMsmqBinding>

Save the binding and then on the client connector it will appear on the list of bindings.

For routing based on SOAP Action, are you already using a process to map the action to the topic?  You will need to use an Exception step.  In the Try block put the publish step and in the Catch block handle the exception and send back a better response.

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