Listening for messages for a certain duration - Weblogic

This is a discussion on Listening for messages for a certain duration - Weblogic ; I have a situation where my JMS client should listen for messages from Queue for a certain amount of time. Is this possible? Thanks, Sanjay...

+ Reply to Thread
Results 1 to 4 of 4

Listening for messages for a certain duration

  1. Default Listening for messages for a certain duration

    I have a situation where my JMS client should listen for messages from
    Queue for a certain amount of time. Is this possible?

    Thanks,
    Sanjay




  2. Default Re: Listening for messages for a certain duration

    I guess no one has answered yet, but what exactly do you mean? Obviously,
    when you receive a message synchronously the various "receive" calls give
    the option to specify how long you want to wait for a message to become
    available. But I imagine you want more than that...

    greg

    "Sanjay Ungarala" <sungaral@telcordia.com> wrote in message
    news:3D7652A2.FE5F18EE@telcordia.com...
    > I have a situation where my JMS client should listen for messages from
    > Queue for a certain amount of time. Is this possible?
    >
    > Thanks,
    > Sanjay
    >
    >





  3. Default Re: Listening for messages for a certain duration

    Gregory,

    Thanks for your reply.

    I was looking for Async message listener. I want my message listener to sto=
    p
    listening to queue after certain duration. Is this possible?

    Thanks,
    Sanjay

    Gregory Brail wrote:

    > I guess no one has answered yet, but what exactly do you mean? Obviously,
    > when you receive a message synchronously the various "receive" calls give
    > the option to specify how long you want to wait for a message to become
    > available. But I imagine you want more than that...
    >
    > greg
    >
    > "Sanjay Ungarala" <sungaral@telcordia.com> wrote in message
    > news:3D7652A2.FE5F18EE@telcordia.com...
    > > I have a situation where my JMS client should listen for messages from
    > > Queue for a certain amount of time. Is this possible?
    > >
    > > Thanks,
    > > Sanjay
    > >
    > >




  4. Default Re: Listening for messages for a certain duration

    Why not create a timer and close the JMS subscriber (and maybe even the=20
    session and the connection) after the time elapses?

    --dejan

    Sanjay Ungarala wrote:

    >Gregory,
    >
    >Thanks for your reply.
    >
    >I was looking for Async message listener. I want my message listener to st=

    op
    >listening to queue after certain duration. Is this possible?
    >
    >Thanks,
    >Sanjay
    >
    >Gregory Brail wrote:
    >
    > =20
    >
    >>I guess no one has answered yet, but what exactly do you mean? Obviously,
    >>when you receive a message synchronously the various "receive" calls give
    >>the option to specify how long you want to wait for a message to become
    >>available. But I imagine you want more than that...
    >>
    >> greg
    >>
    >>"Sanjay Ungarala" <sungaral@telcordia.com> wrote in message
    >>news:3D7652A2.FE5F18EE@telcordia.com...
    >> =20
    >>
    >>>I have a situation where my JMS client should listen for messages from
    >>>Queue for a certain amount of time. Is this possible?
    >>>
    >>>Thanks,
    >>>Sanjay
    >>>
    >>>
    >>> =20
    >>>

    >
    > =20
    >




+ Reply to Thread