Hi Gautam,
Can u pls elaborate it "second one is temporary". Whether in both cases the Queue "Q1" must be available physically in the server or the createQueue method will create a temporaryQueue which will be valid during the session period.
Because when i run createQueue("Q100") statement in the program it will throw Queue not found
message as the "Q100" is not available in the QM1.
Raman.
Originally posted by gautam shah:
second one is temperory. available only for u and to those whom u want. but the first one is global. administred established object . available to any authorized user till the server exist.
but in the second case once u loose the "reference" of that queue it will be lost for ever from ur hands.
ooops again reference........
:roll: