Hi Sic, failover for blob upload transfer policy is not currently implemented.
Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Jul 5, 2010 at 3:01 AM, sic <sic_1...@naver.com> wrote: > > Hi, > > I'm faced a problem when applying the blob message to my system. > > I use two brokers, which aren't clustering, but just seperated physically. > > In this state, I have had producers send some kind of messages(without blob) > to the two brokers by failover transport(e.g. > failover:(tcp://{IP_1}:61616,tcp://{IP_2}:61616) ) > > BTW, I set the jetty web server to both the brokers because the brokers > should have its own file server in order to use the blob messages when one > of the two is shutdown abruptly. > > I just want to send messages and files to the same broker, not separately. > However, when sending the messages on the producer side, I must set not only > the Urls of brokers, but those of the fileserver. > I think there is even no way to set producer to both the webservers in the > current version, and I have no idea, either. > > <bean id="factory" class="org.apache.activemq.pool.PooledConnectionFactory" > destroy-method="stop"> > <property name="connectionFactory"> > <bean class="org.apache.activemq.ActiveMQConnectionFactory"> > <property name="brokerURL"> > > <value>failover:(tcp://{IP_1}:61616,tcp://{IP_2}:61616)</value> > </property> > <property name="blobTransferPolicy"> > <bean > class="org.apache.activemq.blob.BlobTransferPolicy"> > <property name="defaultUploadUrl" > value="http://{IP_1}:8161/fileserver/"/> > </bean> > </property> > </bean> > </property> > </bean> > > I appreciate any advice for this issue. > > regards, > > sic > -- > View this message in context: > http://old.nabble.com/blob-messages-with-failover-transport-tp29072071p29072071.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >