Re: Artemis bin/artemis script execution on solaris VM

2016-01-26 Thread Tim Bain
Submit an enhancement request in JIRA. But note that it'll likely get changed to #!/usr/bin/env sh instead of #!/usr/bin/env bash, unless you can make a successful argument for switching the shell too. On Jan 26, 2016 10:08 PM, "abhijith" wrote: > Found the issue myself. Posting it here in case

Re: Artemis bin/artemis script execution on solaris VM

2016-01-26 Thread abhijith
Found the issue myself. Posting it here in case anyone else needs it. Issue is that all artemis scripts use #!/bin/sh shebang which is not preferred way to achieve portability. More info here . Once I changed she

Re: Clients Connections Still Active After Stopping/Removing TransportConnector

2016-01-26 Thread Tim Bain
Javadocs are just formed from source code, so submit a JIRA bug with a proposed alternative that would have let you understand the right approach if you'd had the Javadoc at the time. On Jan 26, 2016 12:36 PM, "Mark Anderson" wrote: > To follow up I figured out that brokerService.startTransport w

Receiving multiple duplicate messages - Beginner question

2016-01-26 Thread Bjand
Hi I am new to ActiveMQ and trying to make a Request/Response wrapper in C# using Apache.NMS.ActiveMQ 1.7.1. So far I am able to setup the connection and session, and also send and receive message. The only issue is that when I send one message from a client, the server consumer receives the mess

Re: failover with vm connection.

2016-01-26 Thread W.P.
Thanks for your help, Tim. Got so buried in the snow the past few days. Here is the error I got when I prepend failover to the connectionUrl: 2016-01-26 11:17:32 WARN FailoverTransport:1119 - Failed to connect to [vm://localhost?jms.prefetchPolicy.queuePrefetch=0] after: 10 attempt(s) continuin

Re: Clients Connections Still Active After Stopping/Removing TransportConnector

2016-01-26 Thread Mark Anderson
To follow up I figured out that brokerService.startTransport was actually returning a managed transport and this was the one I should be stopping. The client connections then all failed as expected. The Javadocs on BrokerService could definitely be better in this area. However, I did then run int

Re: Message Group Limitations (how many simulataneous groups are supported?)

2016-01-26 Thread artnaseef
Searching git history, it appears the following commit introduced the change back in 2013: 468e69765145ddad199963260e4774d179ad That first appears in 5.9.0. So, it was longer ago than I realized ;-). Cheers! -- View this message in context: http://activemq.2283324.n4.nabble.com/Message-

Re: Cluster/Federated Artemis problems

2016-01-26 Thread Clebert Suconic
I believe Eclipse can import the checkstyle.xml natively as a setting. I haven't been using eclipse for some time as Idea has been dealing with maven projects in a better way. If you use Idea we have the settings /etc... There as some Eclipse settings there as well. On Tue, Jan 26, 2016 at 10:47

Re: Cluster/Federated Artemis problems

2016-01-26 Thread Justin Bertram
I believe Artemis ships Eclipse preferences under the "etc" directory. I don't use Eclipse so I'm not 100% certain. Justin - Original Message - From: "Lachezar Dobrev" To: users@activemq.apache.org Sent: Tuesday, January 26, 2016 9:47:20 AM Subject: Re: Cluster/Federated Artemis probl

Re: Cluster/Federated Artemis problems

2016-01-26 Thread Lachezar Dobrev
Thank you. I'll try to remember this. BTW. Is there any code style settings for ActiveMQ/Artemis for developers using Eclipse? The 3 space indentation got me broad-side… 2016-01-26 17:17 GMT+02:00 Clebert Suconic : > just to let you know.. to build with checkstyle activated, you have to > bui

Re: Cluster/Federated Artemis problems

2016-01-26 Thread Clebert Suconic
just to let you know.. to build with checkstyle activated, you have to build with the dev profile: mvn -Pdev install (etc). On Tue, Jan 26, 2016 at 6:14 AM, Lachezar Dobrev wrote: > Well, not that you have explained this it is really "Obvious". > I'm using Artemis as JMS client+server, and

Re: Message Group Limitations (how many simulataneous groups are supported?)

2016-01-26 Thread Paul Gale
*>Using a key such as social security number for message groups is going to be challenging simply due to the number of groups involved* This can be overcome by using the hashing technique I described earlier which has worked out nicely for us YMMV. In practice we've found that more often than not t

Re: Cluster/Federated Artemis problems

2016-01-26 Thread Lachezar Dobrev
Passed. I was having "minor" arguments with checkstyle. 2016-01-26 13:14 GMT+02:00 Lachezar Dobrev : > ​ Well, not that you have explained this it is really "Obvious". > I'm using Artemis as JMS client+server​, and internals are a bit obscure > for me. I'll have to wrap my head around the

Re: Cluster/Federated Artemis problems

2016-01-26 Thread Lachezar Dobrev
​ Well, not that you have explained this it is really "Obvious". I'm using Artemis as JMS client+server​, and internals are a bit obscure for me. I'll have to wrap my head around the fact, that there is more than JMS to that. Package size issue: ​https://issues.apache.org/jira/browse/ARTEMI

Re: ActiveMQBytesMessage decompress throws DataFormatException incorrect header check

2016-01-26 Thread Claudio Tagliola
I've isolated the scenario with a small Server/Client class, I've created a ticket and added them there: https://issues.apache.org/jira/browse/AMQ-6142 The culprit is the fact the server is listening in on a topic over the VM transport on an embedded broker. By listening in, the pending message i

Clients Connections Still Active After Stopping/Removing TransportConnector

2016-01-26 Thread Mark Anderson
With ActiveMQ 5.13.0 I'm programattically adding and removing a TcpTransportConnector as follows. The connectorUri is tcp://0.0.0.0:24726 Add connector = brokerService.addConnector(connectorUri); brokerService.startTransportConnector(connector); Remove brokerService.removeConnector(connector);