You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Marc Dumontier <ma...@mdumontier.com> on 2006/07/18 21:42:53 UTC
Help with architecture/setup
Hi
I've got an application which needs to use jms to send messages with
guaranteed delivery in the correct order.
Here is the basic scenario
Servers A,B, and C run the web application CAISI
Server X runs the integrator software (no users - web services/jms only)
(and the jms server?)
Server A needs to send a message to the integrator. If the internet is down
and server A cannot contact server X, how does the message get queued into
the system properly?
Should activemq server be also running on serverA and it will route the
message?
any links to resources on what needs to run where would be great
thanks
Marc
--
View this message in context: http://www.nabble.com/Help-with-architecture-setup-tf1962595.html#a5384990
Sent from the ActiveMQ - User forum at Nabble.com.
Re: Help with architecture/setup
Posted by Marc Dumontier <ma...@mdumontier.com>.
also, i do see the connection being made .. just no messages being forwarded
Thanks again,
Marc
--
View this message in context: http://www.nabble.com/Help-with-architecture-setup-tf1962595.html#a5544946
Sent from the ActiveMQ - User forum at Nabble.com.
Re: Help with architecture/setup
Posted by Marc Dumontier <ma...@mdumontier.com>.
thanks James,
Finally got some time to get back to this project.
I setup the embedded broker without problem...i can see the messages queued
in the mysql database.
i added the following xml to the embedded broker
<networkConnectors>
<networkConnector uri="static:(tcp://server-x:61636)"
failover="true"/>
</networkConnectors>
but i don't think they are being forwarded to server-x when it comes online
--
View this message in context: http://www.nabble.com/Help-with-architecture-setup-tf1962595.html#a5544713
Sent from the ActiveMQ - User forum at Nabble.com.
Re: Help with architecture/setup
Posted by Marc Dumontier <ma...@mdumontier.com>.
hi James
Looks like i got it working :)
when i got the consumer started...looks like it was getting the messages
from server-x ok
--
View this message in context: http://www.nabble.com/Help-with-architecture-setup-tf1962595.html#a5546343
Sent from the ActiveMQ - User forum at Nabble.com.
Re: Help with architecture/setup
Posted by James Strachan <ja...@gmail.com>.
On 7/18/06, Marc Dumontier <ma...@mdumontier.com> wrote:
>
> Hi
>
> I've got an application which needs to use jms to send messages with
> guaranteed delivery in the correct order.
>
> Here is the basic scenario
> Servers A,B, and C run the web application CAISI
> Server X runs the integrator software (no users - web services/jms only)
> (and the jms server?)
>
>
> Server A needs to send a message to the integrator. If the internet is down
> and server A cannot contact server X, how does the message get queued into
> the system properly?
So A and X are seperated by the internet right?
If so, one option is to use the failover transport in A so that the
JMS clients auto-reconnect to X when it becomes available - though
this could cause A to hang while X is down....
http://incubator.apache.org/activemq/how-can-i-support-auto-reconnection.html
Another option which removes the blocking of A is to use an embedded
broker inside A, so that the application can keep sending messages
even if there is no connection to X - then things will just spool to
disk locally...
http://incubator.apache.org/activemq/how-do-i-embed-a-broker-inside-a-connection.html
then to move the messages from the broker in A to X when there is
connectivity, use a store-forward network between the brokers...
http://incubator.apache.org/activemq/networks-of-brokers.html
--
James
-------
http://radio.weblogs.com/0112098/