Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7740163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:42:22+00:00 2026-06-01T08:42:22+00:00

We are trying to do a server move on same version of NSB but

  • 0

We are trying to do a server move on same version of NSB but moving to a different box.

Need to move some timeout messages. Timeout messages have a response address (the endpoint it has to go back to), what is the best way to move these. Couple of options I saw

1) Use Queue explorer import them and edit the response manually. It gets unmanagable if we have more than 100 timeout messages. I have verified this works.

2) I tried using some code from Andreas latest timeout message move from (2.6 to 3.0), looks like underlying deseralizer has changed. I get: “Root element is missing”, when trying to read the body. I tried deserializing it to both TimeoutData and Timeoutmessage.

3) I setup an endpoint to listen for TimeoutMessage and use mutator to change the header to destination endpoint, this seems to be working, but timeoutmessages are not taken off the queue after they are processed.

So, with that I am stuck with 1 and I want some automated process around it. Thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:42:24+00:00Added an answer on June 1, 2026 at 8:42 am

    Andreas,
    Thanks for the response. I went back and worked on my 3rd solution. I listen to timeoutmessage, use DestinationOverride to mutate to new address and do a bus.Send to the timeout endpoint.

    I had to add DonotCOntinueDispatchingCUrrentMessageToHandlers to remove timeout message from queue.

    This is what my code looks like

    public void Handle(TimeoutMessage message)
        {
    
            DestinationOverride.CurrentDestination = ConfigurationManager.AppSettings["ResponseQueue"];
    
            var header = message.GetHeader("CorrId");
    
            bus.Send<TimeoutMessage>(ConfigurationManager.AppSettings["OutputQueue"], tm =>
                 {
                     tm.ClearTimeout = false; //always false since we don't store the "clear" requests
                     tm.Expires = message.Expires;
                     tm.SagaId = message.SagaId;
                     tm.State = message.State;
                     tm.SetHeader("CorrId",header);
                 });
    
            bus.DoNotContinueDispatchingCurrentMessageToHandlers();
    
        }
    

    Thanks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Web Application that I'm trying to move from Sun Application Server
I am trying to move a subversion repository to a new server, but leave
Trying to get my server to serve my rails apps. I have a test
I'm trying to implement sql server 2005 cache dependency in ASP.Net 3.5. I have
I have a client that I'm wanting to move to a virtual private server.
I'm trying to have an email-processing Java application move all processed mails from an
I'm trying to move a classing ASP site to a 64-bit Windows 2008 server.
We are trying to move some of our media files from our application to
*Hi, The Case: I am trying to move a database from one server to
I'm trying to move a database table to another server; the complication is that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.