Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
Thanks,now I know that C++ client can only send and receive the URL,can not directly upload or download the blob file. If so that ,why I use blobmessage in C++ ,I can use textmessage instead of blobmessage,send and receive URL through by textmessae? my c++ code as follow: commands::ActiveMQBlobMes

Re: A question on RedeliveryPlugin Configuration

2017-05-24 Thread Christopher Shannon
You should be able to do in Java code if you have an embedded broker. You can get access to the Broker chain from the BrokerService object, get the RedeliveryPlugin and then update the redeliveryPolicyMap. BrokerService brokerService = new BrokerService(); //do configuration here RedeliveryPlugin

Re: Migrating storage from 5.10.0 to 5.14.5

2017-05-24 Thread Christopher Shannon
What kind of errors are you getting? If it's related to data marshalling then it could be because there was an Openwire upgrade (Openwire is the format the messages are stored in) done in the KahaDB store between those versions which could be causing your issue. I think there was also some schedul

Re: error in /admin/xml/queues.jsp

2017-05-24 Thread Christopher Shannon
This has been fixed as part of AMQ-6656 which AMQ-6685 duplicated. The fix will be part of 5.15.0 (and 5.14.6 if a release is done) On Wed, May 24, 2017 at 10:22 AM, Adam Whitney wrote: > one thing to note ... we were using the /admin/xml/queues.jsp page to get > stats from ActiveMQ into splunk

Re: error in /admin/xml/queues.jsp

2017-05-24 Thread Adam Whitney
one thing to note ... we were using the /admin/xml/queues.jsp page to get stats from ActiveMQ into splunk for monitoring and alerting. We've worked around the issue by using the jolokia endpoint, e.g.: /api/jolokia/read/org.apache.activemq:type=Broker,brokerName=*,destinationName=*,destinationType

Re: error in /admin/xml/queues.jsp

2017-05-24 Thread Adam Whitney
I'm also using Java 1.8 ... with both 5.13.3 and 5.14.5 Also, to Tim's earlier request, I deleted all the queues (using the /admin/queues.jsp page) and still got the same error when I went to the /admin/xml/queues/jsp page. I'll filed a JIRA: https://issues.apache.org/jira/browse/AMQ-6685 -- V

Re: How can memory usage be at 10,000% of available memory?

2017-05-24 Thread rth
A colleague provided these answers. Is the response to #1 a concern? (Sorry for the formatting issues. I have no idea how to format raw text in this UI.) 1. What version of ActiveMQ are you running? ActiveMQ Broker version: 5.13.1, ActiveMQ Client version: 5.14.2 2. What are the limits you're s

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP; type TForm1 = class(TForm) Button1: TButton; IdHTTP1: TIdHTTP; IdTCPClient1: TIdTCPClie

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
I can do as follow,and change the java to delphi and C++,but my manager do not agree do that. = package com.blob.activemq; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import jav

BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
I'm searching the documentation of ActiveMQBlobMessage usage in C++ through ActiveMQ-CPP. I could find http://activemq.apache.org/blob-messages.html and it talks about Java usage and expecting the similar one for C++. Can you please let me know from where we can get it? ==

Re: ActiveMQ Artemis: failure cause of DLQ messages

2017-05-24 Thread Clebert Suconic
The message is always refelivered from the server. This was done so other consumers would have a chance to receive it as well. (Say if there is something wrong with that particular consumer) This would require some hashnap at the client. Functionality you can implement yourself based on the Id

Re: ActiveMQ Artemis

2017-05-24 Thread Justin Bertram
Artemis supports both OpenWire and STOMP. I think you should be covered, but you should, of course, perform your own testing to ensure your use-cases are properly supported. If there are gaps then we'll work to resolve them. Justin - Original Message - From: "mlus" To: users@activem

Artemis - 2 node cluster with HA with replication, colocation

2017-05-24 Thread Brett Delle Grazie
Hi, I'm trying to build a 2 cluster with colocated backups and replication (not shared store). In my particular case I need to use static definitions rather than UDP or JGroups. These are vagrant instances not real. We are dealing with persistent messages and are attempting to minimise the risk of

Re: ActiveMQ Artemis: failure cause of DLQ messages

2017-05-24 Thread vishal3007
Thanks for the detailed response...Just a suggestion- I believe when consumer consumes the message from a queue it gets the same Message object everytime(in case of re-delivery)...Can't we add a property in the message which can be set by the consumers. Consumer should only be allowed to set this p

Re: Connection to activemq broker is lost within one second

2017-05-24 Thread Martin Eden
Hi, On my side. I was doing an integration test as I said earlier. As part of the integration test I was injecting a fault in the framework I am running the app within. Again my app is just reading from an MQTT topic, doing some processing and writing out in another topic. It turned out that as pa

ActiveMQ Artemis

2017-05-24 Thread mlus
I have question about ActiveMQ Artemis and JMS client. Currently, JMS Client Applications(java, C++, Delphi) connect to ActiveMQ 5.13.2 Server using STOMP or OpenWire. I want to replace the ActiveMQ 5.13.2 to ActiveMQ Artemis without change JMS Client Applications. Is is possible ?