Topic
4 replies Latest Post - ‏2006-02-28T22:50:57Z by SystemAdmin
SystemAdmin
SystemAdmin
684 Posts
ACCEPTED ANSWER

Pinned topic triggerTransmission() Question

‏2006-02-27T19:10:10Z |
Hi All,

My question is: if i call the triggerTransmission() from the C codebase to
get all the messages from a store and forward queue that resides in a
gateway (via the home server queue), the control is back (the
triggerTransmission ends its execution) after all the messages are
transmitted?

I mean, can i be sure that if the triggerTransmittion returns control, all
the pending messages were transmitted?

If not, how can i resolve this need?

Thanks,
Javier

Updated on 2006-02-28T22:50:57Z at 2006-02-28T22:50:57Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    684 Posts
    ACCEPTED ANSWER

    Re: triggerTransmission() Question

    ‏2006-02-28T13:32:11Z  in response to SystemAdmin
    Hi,

    Trigger transmission will only make sure that the asynchronous messaging
    is started.
    It does not ensure all pending messages are retrieved.

    regards,
    Vijay
    "Javier" <jaltauz@newtechnologies.com.ar> wrote in message
    news:dtvijs$23808$1@news.boulder.ibm.com...
    > Hi All,
    >
    > My question is: if i call the triggerTransmission() from the C codebase to
    > get all the messages from a store and forward queue that resides in a
    > gateway (via the home server queue), the control is back (the
    > triggerTransmission ends its execution) after all the messages are
    > transmitted?
    >
    > I mean, can i be sure that if the triggerTransmittion returns control, all
    > the pending messages were transmitted?
    >
    > If not, how can i resolve this need?
    >
    > Thanks,
    > Javier
    >
    >

    • SystemAdmin
      SystemAdmin
      684 Posts
      ACCEPTED ANSWER

      Re: triggerTransmission() Question

      ‏2006-02-28T14:24:56Z  in response to SystemAdmin
      Thanks!. Then, there is a background thread in the C API that transfers all
      the messages?.

      Is there another way to know if all the pending messages were transmitted?.
      I need this behaviour for messages that resides in a Store and Forware
      queue. I want my client decive (mobile) to know if the transmission was
      completed or is still receiving messages..

      Thanks
      Javier

      "vijay" <vij_mur@hotmail.com> wrote in message
      news:du1jfa$37o4c$1@news.boulder.ibm.com...
      > Hi,
      >
      > Trigger transmission will only make sure that the asynchronous
      messaging
      > is started.
      > It does not ensure all pending messages are retrieved.
      >
      > regards,
      > Vijay
      > "Javier" <jaltauz@newtechnologies.com.ar> wrote in message
      > news:dtvijs$23808$1@news.boulder.ibm.com...
      > > Hi All,
      > >
      > > My question is: if i call the triggerTransmission() from the C codebase
      to
      > > get all the messages from a store and forward queue that resides in a
      > > gateway (via the home server queue), the control is back (the
      > > triggerTransmission ends its execution) after all the messages are
      > > transmitted?
      > >
      > > I mean, can i be sure that if the triggerTransmittion returns control,
      all
      > > the pending messages were transmitted?
      > >
      > > If not, how can i resolve this need?
      > >
      > > Thanks,
      > > Javier
      > >
      > >
      >
      >

      • SystemAdmin
        SystemAdmin
        684 Posts
        ACCEPTED ANSWER

        Re: triggerTransmission() Question

        ‏2006-02-28T16:11:04Z  in response to SystemAdmin
        Javier wrote:
        > Thanks!. Then, there is a background thread in the C API that transfers all
        > the messages?.
        >
        > Is there another way to know if all the pending messages were transmitted?.
        > I need this behaviour for messages that resides in a Store and Forware
        > queue. I want my client decive (mobile) to know if the transmission was
        > completed or is still receiving messages..
        >
        > Thanks
        > Javier
        >
        >
        >
        > "vijay" <vij_mur@hotmail.com> wrote in message
        > news:du1jfa$37o4c$1@news.boulder.ibm.com...
        >
        >>Hi,
        >>
        >> Trigger transmission will only make sure that the asynchronous
        >
        > messaging
        >
        >>is started.
        >> It does not ensure all pending messages are retrieved.
        >>
        >>regards,
        >>Vijay
        >>"Javier" <jaltauz@newtechnologies.com.ar> wrote in message
        >>news:dtvijs$23808$1@news.boulder.ibm.com...
        >>
        >>>Hi All,
        >>>
        >>>My question is: if i call the triggerTransmission() from the C codebase
        >
        > to
        >
        >>>get all the messages from a store and forward queue that resides in a
        >>>gateway (via the home server queue), the control is back (the
        >>>triggerTransmission ends its execution) after all the messages are
        >>>transmitted?
        >>>
        >>>I mean, can i be sure that if the triggerTransmittion returns control,
        >
        > all
        >
        >>>the pending messages were transmitted?
        >>>
        >>>If not, how can i resolve this need?
        >>>
        >>>Thanks,
        >>>Javier
        >>>
        >>>
        >>
        >>
        >
        >
        Hi Javier,

        In MQe Java codebase, if you call the trigger transmission, a background
        thread is started that takes care of sending and receiving the messages.

        But MQe C Native codebase works on a single threaded model, hence once
        the trigger transmission is called, it will return once all the pending
        messages in Async remote queue are sent and messages are received by
        Home server queue.

        Rgards,
        HP
  • SystemAdmin
    SystemAdmin
    684 Posts
    ACCEPTED ANSWER

    Re: triggerTransmission() Question

    ‏2006-02-28T22:50:57Z  in response to SystemAdmin
    Thanks a lot! ... i'll try it

    "Javier" <jaltauz@newtechnologies.com.ar> wrote in message
    news:dtvijs$23808$1@news.boulder.ibm.com...
    > Hi All,
    >
    > My question is: if i call the triggerTransmission() from the C codebase to
    > get all the messages from a store and forward queue that resides in a
    > gateway (via the home server queue), the control is back (the
    > triggerTransmission ends its execution) after all the messages are
    > transmitted?
    >
    > I mean, can i be sure that if the triggerTransmittion returns control, all
    > the pending messages were transmitted?
    >
    > If not, how can i resolve this need?
    >
    > Thanks,
    > Javier
    >
    >