SQL Server Developer Center > SQL Server Forums > SQL Service Broker > Message not being sent while auto activating a procedure from a queue
Ask a questionAsk a question
 

AnswerMessage not being sent while auto activating a procedure from a queue

  • Thursday, October 29, 2009 8:11 AMRenatoFontes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    So...
    I have a queue that activates a procedure when in it receives a message.
    This procedures (let's call it procedure A) calls another procedure (let's call it B)
    procedure B function is to log the activity of procedure A in another queue

    the problem is... that process B isn't logging anything in the queue...
    if I call procedure B by itself it does work like it should...
    and if I take the code from procedure B and put in A... it also work (but I shouldn't do it this way)


    So what's going on?
    Is there a problem when an autoactivating procedure calls another?

    BTW this is on sql 2005

    Thanks,
    Renato Fontes

Answers

All Replies