Yes. The client receives a message either in a transaction or has to
implicitly or explicitly acknowledge the receipt. In the first case the
transaction is started by the client while the second case is a call with no
tx context. Hence neither case can involve the sender's transaction (unless
you explicitly do so).
Imre Kifor
Valto Systems
-----Original Message-----
From: Sachin Aggarwal <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, October 05, 1999 3:24 PM
Subject: ejbs and jms
>This is being posted here besides the JMS list in case someone has some
>other ideas to solve this problem.
>
>
>I have an EJB that is sending a JMS mesage - say that an order has been
>created and within the same transaction updating a table with order info.
>
>The consumer system needs to read the same table once it get's the message.
>Can I be assured that the consumer starts procesing the message and will
>read the table only after the sending transaction has completed and thus
>updated the table?
>
>If not, how can I achieve this ?
>
>Sachin.
>
>p.s - I have transacted and persistent messages.
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".