activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sic <sic_1...@naver.com>
Subject Re: blob messages with failover transport
Date Mon, 05 Jul 2010 07:11:23 GMT

I'm sorry to hear that.
Then, I decide either not to use them or to implement a way of failover for
my requirement.

Anyway, thank you for informing the current states.

sic
 

Dejan Bosanac wrote:
> 
> 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_1234@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.
>>
>>
> 
> 
> -----
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 

-- 
View this message in context: http://old.nabble.com/blob-messages-with-failover-transport-tp29072071p29073391.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message