Re: DBMS_PIPE.SEND_MESSAGE
Date: 2000/04/26
Message-ID: <8e69ka$cl4$1_at_nnrp1.deja.com>#1/1
In article <n3refsso0snk2in3qvpl26a41e7n4lmvg4_at_4ax.com>,
NeedaHoliday wrote:
> I implemented an emailing error process in the Pro*C program. When I
> send a message through the pipe, I end up getting unlimited email
> messages in my folder. It seems like the Pro*C Program keep reading
> the initial call.
>
> When you SEND a message to the pipe, am I suppose to clean out the
> buffer right after.
>
> Thanks in advance
>
>
You shouldn't have to... I don't know about the Pro*C method of
retrieving messages but using DBMS_PIPE.RECEIVE_MESSAGE should take the
message out of the pipe. Subsequent calls shouldn't read the same
message again. That's my experience anyway. Are you sure that the your
pro*C program isn't getting a retrieve error and just ignoring it,
leaving the variables set from the previous run?
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Apr 26 2000 - 00:00:00 CEST