Hello,
I have an ActiveMQ broker running as a Windows service. Its using
jdbcPersistenceAdapter with Oracle data source and Oracle's Universal
Connection Pooling (UCP).
When the database is down (due to network problems or scheduled
maintenance), the ActiveMQ windows service shuts down completely.
Cool. That's good to know. I didn't know std::string is reference counted. I
came from some really old implementation of STL and it wasn't like that.
Thank you so much. Now I am not so afraid of copying strings. :)
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-C
On Mon, 2012-02-13 at 14:26 -0800, stephenju wrote:
> Just went through the source files and find it actually makes 4 copies of the
> text.
>
> MarshallingSupport::readString32() makes 1 from the stream.
> ActiveMQTextMessage::getText() then make another one to store in its data
> member. Then it
Just went through the source files and find it actually makes 4 copies of the
text.
MarshallingSupport::readString32() makes 1 from the stream.
ActiveMQTextMessage::getText() then make another one to store in its data
member. Then it makes yet another one as return value. Finally, the
assignment i
I recommend using Queues, since Durable Subscriptions can't scale on the
consumer side (JMS spec only allows for one connection per subscriptionId).
Another option would be to use a Camel route to help filter the messages
based on your selector, so you only get messages into queues as needed.
Thanks for the warning. Yes, our connections are compressed. So this is a no
go I guess.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-Getting-text-from-a-Text-Message-without-making-temporary-tp4384039p4385205.html
Sent from the ActiveMQ - User mailing list
On Mon, 2012-02-13 at 23:57 +0400, Ivan Pechorin wrote:
> 2012/2/13 stephenju
>
> > Is there a way to access the text bytes without creating a temporary
> > std::string? I am dealing with some large text messages and try not to
> > allocate memory when making copies. For example, when I get the
That seems very reasonable.
The locker implementation can specified via configuration, it would be
great if you could provide an implementation that you can verify with
your setup.
note the interface:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/
2012/2/13 stephenju
> Is there a way to access the text bytes without creating a temporary
> std::string? I am dealing with some large text messages and try not to
> allocate memory when making copies. For example, when I get the message:
>
> std::string reply = myMessage->getText();
>
> getText(
Hi Zagan-
The shared filesystem is usually faster (10-100x) than the shared
database approach. I believe its also simpler to manage. A queuing
system is going to thrash the Oracle database, and require a lot of db
maintenance (or at least it did when I last used it with Oracle 9).
I recomm
Am 01.02.2012 17:57, schrieb Christian Hilgers:
Any Updates/comments here?
Am 31.01.2012 14:13, schrieb Gary Tully:
This need some work.
On 5.6, a single broker can deal with a failover of the jdbc store.
The difficulty is locking in the master/slave case, or peer cluster case.
The current lo
Is there a way to access the text bytes without creating a temporary
std::string? I am dealing with some large text messages and try not to
allocate memory when making copies. For example, when I get the message:
std::string reply = myMessage->getText();
getText() makes a copy of its data on retu
Hi,
2012/2/12 SuoNayi
> Hi all,
>Just to want to ensure whether apollo 1.0 supports cluster(network
> broker like activemq) or not?
>
Not yet.
>With BDB storage does apollo support BDB cluster for HA?
>
>
We have not investigated this yet. We probably just need to expose
additional
Iam facing the same problem using MySQL database for persistence
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Restarting-ActiveMq-removes-cleans-all-persisted-messages-queues-topics-tp3728577p4383951.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Hi,
i have looked to the documentation of the producer flow control
functionality (http://activemq.apache.org/producer-flow-control.html).
I see that it is based on the storage size but in my case, i think not
being able to use the size.
I have a queue where i put messages two kind of messages :
Hi,
is there no advice to send a message to multiple consumers using activeMQ ?
Regards
Hervé
On 2/2/12, Hervé BARRAULT wrote:
> Hi,
> I would multicast messages to different (dynamically determined) consumers.
>
> I'm asking myself if it is more efficient to use multiple queues or use a
> topic
Hi ,
Can you please give us some insight upon what will be the overhead of using
transactions?
Also can you please tell if there are any alternatives?
--Kaustubh
On Fri, Feb 10, 2012 at 5:03 PM, Gary Tully wrote:
> producers can use transactions to batch a send, each send within a
> transactio
Hello again,
at the moment I am analysing and evaluating the different Active MQ HA
possibilities.
At the Active MQ instance level I found
* Shared Nothing Master/Slave > two separate instances
* Shared Database Master/Slave > two instances, active-passive, sharing the
same database
* Shared File
18 matches
Mail list logo