You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Shahpurkar, Suhas" <SS...@bgcpartners.com> on 2006/11/22 16:21:06 UTC

Active MQ with Continuations example

Hello,
I am a new user in ActiveMQ and Continuations.
I have tried to run the example of 'publishing the prices'. When I tried
to use multiple clients the same prices are not getting reflected to
each.
The client is consuming the messages and the same messages are not
getting reflected to other. 

Can any body suggest?

Thanks and Regards
Suhas


http://www.bgcpartners.com
CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Copyright and any other intellectual property rights in its contents are the sole property of BGC and its affiliates.
E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.  If verification is required please request a hard-copy version.
This e-mail was issued by BGC International which is regulated by the Financial Services Authority ("FSA").  BGC International is an unlimited liability company incorporated under the laws of England (company number 1976691 and VAT registration number 577 406809).  BGC International registered office is at One Churchill Place, London, E14 5RD.  For any issues arising from this email please reply to the sender.
BGC International appears on the FSA register under no 140842.  The FSA register appears at http://www.fsa.gov.uk/register/.  The FSA regulates the financial services industry in the United Kingdom and is located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s).

Re: Active MQ with Continuations example

Posted by James Strachan <ja...@gmail.com>.
On 11/22/06, Shahpurkar, Suhas <SS...@bgcpartners.com> wrote:
> We are using multiple IE 6.0. instances
> OS is Windows.
>
> We have tried on different machines and then I am getting the expected
> results.

If you try multiple firefox windows on the same machine does it work too?

Am guessing we need some way to use unique subscriptions per browser
window - rather than http session to support IE6 - seems like its
using the same session for each window?

-- 

James
-------
http://radio.weblogs.com/0112098/

RE: Active MQ with Continuations example

Posted by "Shahpurkar, Suhas" <SS...@bgcpartners.com>.
We are using multiple IE 6.0. instances
OS is Windows.

We have tried on different machines and then I am getting the expected
results. 




-----Original Message-----
From: James Strachan [mailto:james.strachan@gmail.com] 
Sent: 22 November 2006 16:59
To: activemq-users@geronimo.apache.org
Subject: Re: Active MQ with Continuations example

Hmm - it sounds like the different browser sessions are really using the
same HTTP session.

Are you using different browser programs or just different windows in
the same browser?

Which browser & OS  are you using?

On 11/22/06, Shahpurkar, Suhas <SS...@bgcpartners.com> wrote:
> On same machine and different browsers
>
> -----Original Message-----
> From: Adrian Co [mailto:aco@exist.com]
> Sent: 22 November 2006 16:54
> To: activemq-users@geronimo.apache.org
> Subject: Re: Active MQ with Continuations example
>
> I'm not sure if this has something to do with the session being used.
> Have you tried running the consumer clients in two different browsers?
> or in different machines?
>
> Shahpurkar, Suhas wrote:
> > Hello,
> > I am a new user in ActiveMQ and Continuations.
> > I have tried to run the example of 'publishing the prices'. When I 
> > tried to use multiple clients the same prices are not getting 
> > reflected to each.
> > The client is consuming the messages and the same messages are not 
> > getting reflected to other.
> >
> > Can any body suggest?
> >
> > Thanks and Regards
> > Suhas
> >
> >
> > http://www.bgcpartners.com
> > CONFIDENTIAL: This e-mail, including its contents and attachments, 
> > if
> any, are confidential. If you are not the named recipient please 
> notify the sender and immediately delete it. You may not disseminate, 
> distribute, or forward this e-mail message or disclose its contents to

> anybody else. Copyright and any other intellectual property rights in 
> its contents are the sole property of BGC and its affiliates.
> > E-mail transmission cannot be guaranteed to be secure or error-free.
> The sender therefore does not accept liability for any errors or 
> omissions in the contents of this message which arise as a result of 
> e-mail transmission.  If verification is required please request a 
> hard-copy version.
> > This e-mail was issued by BGC International which is regulated by 
> > the
> Financial Services Authority ("FSA").  BGC International is an 
> unlimited liability company incorporated under the laws of England 
> (company number
> 1976691 and VAT registration number 577 406809).  BGC International 
> registered office is at One Churchill Place, London, E14 5RD.  For any

> issues arising from this email please reply to the sender.
> > BGC International appears on the FSA register under no 140842.  The
> FSA register appears at http://www.fsa.gov.uk/register/.  The FSA 
> regulates the financial services industry in the United Kingdom and is

> located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
> > Although we routinely screen for viruses, addressees should check 
> > this
> e-mail and any attachments for viruses. We make no representation or 
> warranty as to the absence of viruses in this e-mail or any
attachments.
> Please note that to ensure regulatory compliance and for the 
> protection of our customers and business, we may monitor and read 
> e-mails sent to and from our server(s).
> >
> >
> http://www.bgcpartners.com
> CONFIDENTIAL: This e-mail, including its contents and attachments, if
any, are confidential. If you are not the named recipient please notify
the sender and immediately delete it. You may not disseminate,
distribute, or forward this e-mail message or disclose its contents to
anybody else. Copyright and any other intellectual property rights in
its contents are the sole property of BGC and its affiliates.
> E-mail transmission cannot be guaranteed to be secure or error-free.
The sender therefore does not accept liability for any errors or
omissions in the contents of this message which arise as a result of
e-mail transmission.  If verification is required please request a
hard-copy version.
> This e-mail was issued by BGC International which is regulated by the
Financial Services Authority ("FSA").  BGC International is an unlimited
liability company incorporated under the laws of England (company number
1976691 and VAT registration number 577 406809).  BGC International
registered office is at One Churchill Place, London, E14 5RD.  For any
issues arising from this email please reply to the sender.
> BGC International appears on the FSA register under no 140842.  The
FSA register appears at http://www.fsa.gov.uk/register/.  The FSA
regulates the financial services industry in the United Kingdom and is
located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
> Although we routinely screen for viruses, addressees should check this
e-mail and any attachments for viruses. We make no representation or
warranty as to the absence of viruses in this e-mail or any attachments.
Please note that to ensure regulatory compliance and for the protection
of our customers and business, we may monitor and read e-mails sent to
and from our server(s).
>


-- 

James
-------
http://radio.weblogs.com/0112098/
http://www.bgcpartners.com
CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Copyright and any other intellectual property rights in its contents are the sole property of BGC and its affiliates.
E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.  If verification is required please request a hard-copy version.
This e-mail was issued by BGC International which is regulated by the Financial Services Authority ("FSA").  BGC International is an unlimited liability company incorporated under the laws of England (company number 1976691 and VAT registration number 577 406809).  BGC International registered office is at One Churchill Place, London, E14 5RD.  For any issues arising from this email please reply to the sender.
BGC International appears on the FSA register under no 140842.  The FSA register appears at http://www.fsa.gov.uk/register/.  The FSA regulates the financial services industry in the United Kingdom and is located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s).

RE: Active MQ with Continuations example

Posted by "Shahpurkar, Suhas" <SS...@bgcpartners.com>.
I have noticed one more thing.

If I open two different browsers on the same machine on which the server
is running, it gives me wrong results but if I open multiple browsers on
different machine it works fine. 



-----Original Message-----
From: James Strachan [mailto:james.strachan@gmail.com] 
Sent: 22 November 2006 16:59
To: activemq-users@geronimo.apache.org
Subject: Re: Active MQ with Continuations example

Hmm - it sounds like the different browser sessions are really using the
same HTTP session.

Are you using different browser programs or just different windows in
the same browser?

Which browser & OS  are you using?

On 11/22/06, Shahpurkar, Suhas <SS...@bgcpartners.com> wrote:
> On same machine and different browsers
>
> -----Original Message-----
> From: Adrian Co [mailto:aco@exist.com]
> Sent: 22 November 2006 16:54
> To: activemq-users@geronimo.apache.org
> Subject: Re: Active MQ with Continuations example
>
> I'm not sure if this has something to do with the session being used.
> Have you tried running the consumer clients in two different browsers?
> or in different machines?
>
> Shahpurkar, Suhas wrote:
> > Hello,
> > I am a new user in ActiveMQ and Continuations.
> > I have tried to run the example of 'publishing the prices'. When I 
> > tried to use multiple clients the same prices are not getting 
> > reflected to each.
> > The client is consuming the messages and the same messages are not 
> > getting reflected to other.
> >
> > Can any body suggest?
> >
> > Thanks and Regards
> > Suhas
> >
> >
> > http://www.bgcpartners.com
> > CONFIDENTIAL: This e-mail, including its contents and attachments, 
> > if
> any, are confidential. If you are not the named recipient please 
> notify the sender and immediately delete it. You may not disseminate, 
> distribute, or forward this e-mail message or disclose its contents to

> anybody else. Copyright and any other intellectual property rights in 
> its contents are the sole property of BGC and its affiliates.
> > E-mail transmission cannot be guaranteed to be secure or error-free.
> The sender therefore does not accept liability for any errors or 
> omissions in the contents of this message which arise as a result of 
> e-mail transmission.  If verification is required please request a 
> hard-copy version.
> > This e-mail was issued by BGC International which is regulated by 
> > the
> Financial Services Authority ("FSA").  BGC International is an 
> unlimited liability company incorporated under the laws of England 
> (company number
> 1976691 and VAT registration number 577 406809).  BGC International 
> registered office is at One Churchill Place, London, E14 5RD.  For any

> issues arising from this email please reply to the sender.
> > BGC International appears on the FSA register under no 140842.  The
> FSA register appears at http://www.fsa.gov.uk/register/.  The FSA 
> regulates the financial services industry in the United Kingdom and is

> located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
> > Although we routinely screen for viruses, addressees should check 
> > this
> e-mail and any attachments for viruses. We make no representation or 
> warranty as to the absence of viruses in this e-mail or any
attachments.
> Please note that to ensure regulatory compliance and for the 
> protection of our customers and business, we may monitor and read 
> e-mails sent to and from our server(s).
> >
> >
> http://www.bgcpartners.com
> CONFIDENTIAL: This e-mail, including its contents and attachments, if
any, are confidential. If you are not the named recipient please notify
the sender and immediately delete it. You may not disseminate,
distribute, or forward this e-mail message or disclose its contents to
anybody else. Copyright and any other intellectual property rights in
its contents are the sole property of BGC and its affiliates.
> E-mail transmission cannot be guaranteed to be secure or error-free.
The sender therefore does not accept liability for any errors or
omissions in the contents of this message which arise as a result of
e-mail transmission.  If verification is required please request a
hard-copy version.
> This e-mail was issued by BGC International which is regulated by the
Financial Services Authority ("FSA").  BGC International is an unlimited
liability company incorporated under the laws of England (company number
1976691 and VAT registration number 577 406809).  BGC International
registered office is at One Churchill Place, London, E14 5RD.  For any
issues arising from this email please reply to the sender.
> BGC International appears on the FSA register under no 140842.  The
FSA register appears at http://www.fsa.gov.uk/register/.  The FSA
regulates the financial services industry in the United Kingdom and is
located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
> Although we routinely screen for viruses, addressees should check this
e-mail and any attachments for viruses. We make no representation or
warranty as to the absence of viruses in this e-mail or any attachments.
Please note that to ensure regulatory compliance and for the protection
of our customers and business, we may monitor and read e-mails sent to
and from our server(s).
>


-- 

James
-------
http://radio.weblogs.com/0112098/
http://www.bgcpartners.com
CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Copyright and any other intellectual property rights in its contents are the sole property of BGC and its affiliates.
E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.  If verification is required please request a hard-copy version.
This e-mail was issued by BGC International which is regulated by the Financial Services Authority ("FSA").  BGC International is an unlimited liability company incorporated under the laws of England (company number 1976691 and VAT registration number 577 406809).  BGC International registered office is at One Churchill Place, London, E14 5RD.  For any issues arising from this email please reply to the sender.
BGC International appears on the FSA register under no 140842.  The FSA register appears at http://www.fsa.gov.uk/register/.  The FSA regulates the financial services industry in the United Kingdom and is located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s).

Re: Active MQ with Continuations example

Posted by James Strachan <ja...@gmail.com>.
Hmm - it sounds like the different browser sessions are really using
the same HTTP session.

Are you using different browser programs or just different windows in
the same browser?

Which browser & OS  are you using?

On 11/22/06, Shahpurkar, Suhas <SS...@bgcpartners.com> wrote:
> On same machine and different browsers
>
> -----Original Message-----
> From: Adrian Co [mailto:aco@exist.com]
> Sent: 22 November 2006 16:54
> To: activemq-users@geronimo.apache.org
> Subject: Re: Active MQ with Continuations example
>
> I'm not sure if this has something to do with the session being used.
> Have you tried running the consumer clients in two different browsers?
> or in different machines?
>
> Shahpurkar, Suhas wrote:
> > Hello,
> > I am a new user in ActiveMQ and Continuations.
> > I have tried to run the example of 'publishing the prices'. When I
> > tried to use multiple clients the same prices are not getting
> > reflected to each.
> > The client is consuming the messages and the same messages are not
> > getting reflected to other.
> >
> > Can any body suggest?
> >
> > Thanks and Regards
> > Suhas
> >
> >
> > http://www.bgcpartners.com
> > CONFIDENTIAL: This e-mail, including its contents and attachments, if
> any, are confidential. If you are not the named recipient please notify
> the sender and immediately delete it. You may not disseminate,
> distribute, or forward this e-mail message or disclose its contents to
> anybody else. Copyright and any other intellectual property rights in
> its contents are the sole property of BGC and its affiliates.
> > E-mail transmission cannot be guaranteed to be secure or error-free.
> The sender therefore does not accept liability for any errors or
> omissions in the contents of this message which arise as a result of
> e-mail transmission.  If verification is required please request a
> hard-copy version.
> > This e-mail was issued by BGC International which is regulated by the
> Financial Services Authority ("FSA").  BGC International is an unlimited
> liability company incorporated under the laws of England (company number
> 1976691 and VAT registration number 577 406809).  BGC International
> registered office is at One Churchill Place, London, E14 5RD.  For any
> issues arising from this email please reply to the sender.
> > BGC International appears on the FSA register under no 140842.  The
> FSA register appears at http://www.fsa.gov.uk/register/.  The FSA
> regulates the financial services industry in the United Kingdom and is
> located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
> > Although we routinely screen for viruses, addressees should check this
> e-mail and any attachments for viruses. We make no representation or
> warranty as to the absence of viruses in this e-mail or any attachments.
> Please note that to ensure regulatory compliance and for the protection
> of our customers and business, we may monitor and read e-mails sent to
> and from our server(s).
> >
> >
> http://www.bgcpartners.com
> CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Copyright and any other intellectual property rights in its contents are the sole property of BGC and its affiliates.
> E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.  If verification is required please request a hard-copy version.
> This e-mail was issued by BGC International which is regulated by the Financial Services Authority ("FSA").  BGC International is an unlimited liability company incorporated under the laws of England (company number 1976691 and VAT registration number 577 406809).  BGC International registered office is at One Churchill Place, London, E14 5RD.  For any issues arising from this email please reply to the sender.
> BGC International appears on the FSA register under no 140842.  The FSA register appears at http://www.fsa.gov.uk/register/.  The FSA regulates the financial services industry in the United Kingdom and is located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
> Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s).
>


-- 

James
-------
http://radio.weblogs.com/0112098/

RE: Active MQ with Continuations example

Posted by "Shahpurkar, Suhas" <SS...@bgcpartners.com>.
On same machine and different browsers 

-----Original Message-----
From: Adrian Co [mailto:aco@exist.com] 
Sent: 22 November 2006 16:54
To: activemq-users@geronimo.apache.org
Subject: Re: Active MQ with Continuations example

I'm not sure if this has something to do with the session being used. 
Have you tried running the consumer clients in two different browsers? 
or in different machines?

Shahpurkar, Suhas wrote:
> Hello,
> I am a new user in ActiveMQ and Continuations.
> I have tried to run the example of 'publishing the prices'. When I 
> tried to use multiple clients the same prices are not getting 
> reflected to each.
> The client is consuming the messages and the same messages are not 
> getting reflected to other.
>
> Can any body suggest?
>
> Thanks and Regards
> Suhas
>
>
> http://www.bgcpartners.com
> CONFIDENTIAL: This e-mail, including its contents and attachments, if
any, are confidential. If you are not the named recipient please notify
the sender and immediately delete it. You may not disseminate,
distribute, or forward this e-mail message or disclose its contents to
anybody else. Copyright and any other intellectual property rights in
its contents are the sole property of BGC and its affiliates.
> E-mail transmission cannot be guaranteed to be secure or error-free.
The sender therefore does not accept liability for any errors or
omissions in the contents of this message which arise as a result of
e-mail transmission.  If verification is required please request a
hard-copy version.
> This e-mail was issued by BGC International which is regulated by the
Financial Services Authority ("FSA").  BGC International is an unlimited
liability company incorporated under the laws of England (company number
1976691 and VAT registration number 577 406809).  BGC International
registered office is at One Churchill Place, London, E14 5RD.  For any
issues arising from this email please reply to the sender.
> BGC International appears on the FSA register under no 140842.  The
FSA register appears at http://www.fsa.gov.uk/register/.  The FSA
regulates the financial services industry in the United Kingdom and is
located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
> Although we routinely screen for viruses, addressees should check this
e-mail and any attachments for viruses. We make no representation or
warranty as to the absence of viruses in this e-mail or any attachments.
Please note that to ensure regulatory compliance and for the protection
of our customers and business, we may monitor and read e-mails sent to
and from our server(s).
>
>   
http://www.bgcpartners.com
CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Copyright and any other intellectual property rights in its contents are the sole property of BGC and its affiliates.
E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.  If verification is required please request a hard-copy version.
This e-mail was issued by BGC International which is regulated by the Financial Services Authority ("FSA").  BGC International is an unlimited liability company incorporated under the laws of England (company number 1976691 and VAT registration number 577 406809).  BGC International registered office is at One Churchill Place, London, E14 5RD.  For any issues arising from this email please reply to the sender.
BGC International appears on the FSA register under no 140842.  The FSA register appears at http://www.fsa.gov.uk/register/.  The FSA regulates the financial services industry in the United Kingdom and is located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s).

Re: Active MQ with Continuations example

Posted by Adrian Co <ac...@exist.com>.
I'm not sure if this has something to do with the session being used. 
Have you tried running the consumer clients in two different browsers? 
or in different machines?

Shahpurkar, Suhas wrote:
> Hello,
> I am a new user in ActiveMQ and Continuations.
> I have tried to run the example of 'publishing the prices'. When I tried
> to use multiple clients the same prices are not getting reflected to
> each.
> The client is consuming the messages and the same messages are not
> getting reflected to other. 
>
> Can any body suggest?
>
> Thanks and Regards
> Suhas
>
>
> http://www.bgcpartners.com
> CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Copyright and any other intellectual property rights in its contents are the sole property of BGC and its affiliates.
> E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.  If verification is required please request a hard-copy version.
> This e-mail was issued by BGC International which is regulated by the Financial Services Authority ("FSA").  BGC International is an unlimited liability company incorporated under the laws of England (company number 1976691 and VAT registration number 577 406809).  BGC International registered office is at One Churchill Place, London, E14 5RD.  For any issues arising from this email please reply to the sender.
> BGC International appears on the FSA register under no 140842.  The FSA register appears at http://www.fsa.gov.uk/register/.  The FSA regulates the financial services industry in the United Kingdom and is located at 25 The North Colonnade, Canary Wharf, London, E14 5HS.
> Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s).
>
>