[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @clebertsuconic can you take a look at the additional commit ? ---

[GitHub] activemq-artemis pull request #1803: ARTEMIS-1628 Limit pool size on artemis...

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1803 ---

[GitHub] activemq-artemis pull request #1800: ARTEMIS-1626 Disable thread leak check ...

2018-01-22 Thread gaohoward
GitHub user gaohoward reopened a pull request: https://github.com/apache/activemq-artemis/pull/1800 ARTEMIS-1626 Disable thread leak check for failing tests The ThreadLeakCheckRule is used to check thread leaks after each test is finished. However when a test fails, it is not

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 reopen for further discussion. ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @clebertsuconic regarding the thread leak logging, I don't think I got it right. Do you mean if test failed, we give the thread logging, what about test that pases? (just keep in mi

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 Right now it fails the test. If you changed it to log only if the test failed. You got what you wanted. And what we wanted. It’s a good compromise. ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 I think logging would eventually turn on the thread checking, that's the original behavior, no need to change anything, right? ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 Please don’t close those. Just change it to log. ---

[GitHub] activemq-artemis issue #1803: ARTEMIS-1628 Limit pool size on artemis journa...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1803 I can merge this. ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 All we asked was logging instead. ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 Why close it instead of logging it ? ---

[GitHub] activemq-artemis pull request #1800: ARTEMIS-1626 Disable thread leak check ...

2018-01-22 Thread gaohoward
Github user gaohoward closed the pull request at: https://github.com/apache/activemq-artemis/pull/1800 ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 ok, I think it's better to take cautions as people worries about it. Thanks you guys for the opinions ! ---

[GitHub] activemq-artemis issue #1801: ARTEMIS-1607 OpenWire is sending responses too...

2018-01-22 Thread franz1981
Github user franz1981 commented on the issue: https://github.com/apache/activemq-artemis/pull/1801 @clebertsuconic Np I've understood what you mean :) I've pushed another commit with another solution less "reactive" but more simlar to the original code: let me know if it seems bet

[GitHub] activemq-artemis pull request #1799: ARTEMIS-1625 fix moving messages

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1799 ---

[GitHub] activemq-artemis pull request #1786: ARTEMIS-1616 OpenWire improvements

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1786 ---

[GitHub] activemq-artemis issue #1801: ARTEMIS-1607 OpenWire is sending responses too...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1801 @franz1981 typo on my last message.. I actually meant the autoRead stuff. ---

[GitHub] activemq-artemis issue #1793: ARTEMIS-1498: Openwire internal headers should...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1793 I ran the whole testsuite and it didn't complete. it's a very nice start though. ---

[GitHub] activemq-artemis issue #1801: ARTEMIS-1607 OpenWire is sending responses too...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1801 @franz1981 I told you it was ok to do it this way.. but I'm a bit concerned by the use of setResponse(true) and false through this. is there a way to return the packet like

[GitHub] activemq-artemis pull request #1805: ARTEMIS-609 fix interceptor XML docs

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1805 ---

[GitHub] activemq-artemis pull request #1802: ARTEMIS-1504 Update Qpid JMS to 0.29.0 ...

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1802 ---

[GitHub] activemq-artemis pull request #1804: ARTEMIS-608 document adding runtime dep...

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1804 ---

[GitHub] activemq-artemis pull request #1803: ARTEMIS-1628 Limit pool size on artemis...

2018-01-22 Thread clebertsuconic
GitHub user clebertsuconic reopened a pull request: https://github.com/apache/activemq-artemis/pull/1803 ARTEMIS-1628 Limit pool size on artemis journal You can merge this pull request into a Git repository by running: $ git pull https://github.com/clebertsuconic/activemq-arte

[GitHub] activemq-artemis pull request #1805: ARTEMIS-609 fix interceptor XML docs

2018-01-22 Thread jbertram
GitHub user jbertram opened a pull request: https://github.com/apache/activemq-artemis/pull/1805 ARTEMIS-609 fix interceptor XML docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-609 Alternat

[GitHub] activemq-artemis pull request #1801: ARTEMIS-1607 OpenWire is sending respon...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1801#discussion_r163065589 --- Diff: artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/amq/AMQSession.java ---

[GitHub] activemq-artemis pull request #1804: ARTEMIS-608 document adding runtime dep...

2018-01-22 Thread jbertram
GitHub user jbertram opened a pull request: https://github.com/apache/activemq-artemis/pull/1804 ARTEMIS-608 document adding runtime deps You can merge this pull request into a Git repository by running: $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-608 Alte

[GitHub] activemq-artemis pull request #1783: ARTEMIS-1611 Added support for 1.x tran...

2018-01-22 Thread mtaylor
Github user mtaylor commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1783#discussion_r163036074 --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/server/transformer/ServerMessageImpl.java --- @@ -0,0 +1,190 @@ +/*

[GitHub] activemq-artemis pull request #1783: ARTEMIS-1611 Added support for 1.x tran...

2018-01-22 Thread mtaylor
Github user mtaylor commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1783#discussion_r163035962 --- Diff: artemis-commons/src/main/java/org/apache/activemq/artemis/utils/TypedProperties.java --- @@ -23,4 +23,7 @@ @Deprecated public

[GitHub] activemq-artemis issue #1801: ARTEMIS-1607 OpenWire is sending responses too...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1801 The errors on the completion are critical. They are IOerrors. I think the critical exception will be called anyways. ---

[GitHub] activemq-artemis issue #1801: ARTEMIS-1607 OpenWire is sending responses too...

2018-01-22 Thread franz1981
Github user franz1981 commented on the issue: https://github.com/apache/activemq-artemis/pull/1801 @gtully Good point! I've added an async send of error that finally will end with the critical error as before: I hope (@clebertsuconic could help confirm that) that it is safe enough.

[GitHub] activemq-artemis pull request #1803: ARTEMIS-1628 Limit pool size on artemis...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic closed the pull request at: https://github.com/apache/activemq-artemis/pull/1803 ---

[GitHub] activemq-artemis issue #1803: ARTEMIS-1628 Limit pool size on artemis journa...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1803 Please do not merge this.. i will add a log.warn if -1 ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread franz1981
Github user franz1981 commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @gaohoward I undestand your points you've showed on my questions, but as @clebertsuconic has pointed > the ideal world is far from reality.. there are tests that will be failin

[GitHub] activemq-artemis pull request #1786: ARTEMIS-1616 OpenWire improvements

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1786#discussion_r163012542 --- Diff: artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/SimpleString.java --- @@ -361,13 +371,68 @@ public int ha

[GitHub] activemq-artemis pull request #1803: ARTEMIS-1628 Limit pool size on artemis...

2018-01-22 Thread clebertsuconic
GitHub user clebertsuconic opened a pull request: https://github.com/apache/activemq-artemis/pull/1803 ARTEMIS-1628 Limit pool size on artemis journal You can merge this pull request into a Git repository by running: $ git pull https://github.com/clebertsuconic/activemq-artemi

[GitHub] activemq-artemis pull request #1783: ARTEMIS-1611 Added support for 1.x tran...

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1783#discussion_r163011302 --- Diff: artemis-commons/src/main/java/org/apache/activemq/artemis/utils/TypedProperties.java --- @@ -23,4 +23,7 @@ @Deprecated

[GitHub] activemq-artemis pull request #1783: ARTEMIS-1611 Added support for 1.x tran...

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1783#discussion_r163010905 --- Diff: artemis-commons/src/main/java/org/apache/activemq/artemis/utils/TypedProperties.java --- @@ -23,4 +23,7 @@ @Deprecated

[GitHub] activemq-artemis pull request #1791: ARTEMIS-1622 Reduce memory footprint of...

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1791 ---

[GitHub] activemq-artemis issue #1786: ARTEMIS-1616 OpenWire improvements

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on the issue: https://github.com/apache/activemq-artemis/pull/1786 @franz1981 nudge, only thing holding me from merging this is the number of commits. I guess really should be a @clebertsuconic nudge if he's asked for this on purpose. ---

[GitHub] activemq-artemis pull request #1792: ARTEMIS-1621 Make producerWindowSize co...

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1792 ---

[GitHub] activemq-artemis issue #1793: ARTEMIS-1498: Openwire internal headers should...

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on the issue: https://github.com/apache/activemq-artemis/pull/1793 Really good work, I like this, really good to see OpenWire getting this :) Have you run the full OpenWire test suite? I know not all run in the PR build, so worth check

[GitHub] activemq-artemis pull request #1798: ARTEMIS-1624 Adding in condition for tu...

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1798 ---

[GitHub] activemq-artemis pull request #1793: ARTEMIS-1498: Openwire internal headers...

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1793#discussion_r163007469 --- Diff: artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenwireConverter.ja

[GitHub] activemq-artemis issue #1796: ARTEMIS-1623 ActiveMQServerPlugin impl for log...

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on the issue: https://github.com/apache/activemq-artemis/pull/1796 Could the logging events, have LOG codes, e.g. like ActiveMQServerLogger ---

[GitHub] activemq-artemis pull request #1795: [ARTEMIS-1609] Add distinct name/addres...

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1795 ---

[GitHub] activemq-artemis issue #1795: [ARTEMIS-1609] Add distinct name/address for J...

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on the issue: https://github.com/apache/activemq-artemis/pull/1795 Thanks. ---

[GitHub] activemq-artemis pull request #1802: ARTEMIS-1504 Update Qpid JMS to 0.29.0 ...

2018-01-22 Thread tabish121
GitHub user tabish121 opened a pull request: https://github.com/apache/activemq-artemis/pull/1802 ARTEMIS-1504 Update Qpid JMS to 0.29.0 and proton-j to 0.25.0 Updates to latest Qpid JMS and the latest Proton-J release You can merge this pull request into a Git repository by running

[GitHub] activemq-artemis issue #1796: ARTEMIS-1623 ActiveMQServerPlugin impl for log...

2018-01-22 Thread jbertram
Github user jbertram commented on the issue: https://github.com/apache/activemq-artemis/pull/1796 Couple of things: - Nice work! - It's not clear to me why some things are logged at DEBUG vs. INFO. Perhaps the documentation could address this. - Since you're using the

[GitHub] activemq-artemis issue #1801: ARTEMIS-1607 OpenWire is sending responses too...

2018-01-22 Thread gtully
Github user gtully commented on the issue: https://github.com/apache/activemq-artemis/pull/1801 think any error from the io completion callback should result in connection.sendException(...); ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @gaohoward the idea world is far from reality.. there are tests that will be failing forever on the testsuite and people will ignore them.. a result will be a mess that people won't

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @clebertsuconic re: "test1 failed.. leaked.. than test2 failed because there's a thread leak... if you don't report the leak from 1.. you won't know that test2 could fail later.." I

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @gaohoward as I said.. I have been the one to fix these freaking issues when the testsuite is acting up... so... I would be okay with your changes if you at least logged the leakage

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 > @clebertsuconic I'm not convinced that it is that important to log a leakage on a failed test. If a test > fails it should be fixed. With this PR you won't miss a real leakage.

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @franz1981 If the test fails, whether cleanly or not, we get reported and should fix it. The leakage is not important here. After you fix it and it begin to pass, the thread check rule w

[GitHub] activemq-artemis issue #1793: ARTEMIS-1498: Openwire internal headers should...

2018-01-22 Thread franz1981
Github user franz1981 commented on the issue: https://github.com/apache/activemq-artemis/pull/1793 Please take a look here: ``` 2018-01-22 17:28:59,899 WARN [org.apache.activemq.artemis.core.server] Error during message dispatch: java.lang.RuntimeException: null at or

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @clebertsuconic I'm not convinced that it is that important to log a leakage on a failed test. If a test fails it should be fixed. With this PR you won't miss a real leakage. ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread franz1981
Github user franz1981 commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @gaohoward I understand, but often a failed test is expected to fail cleanly (without having leaking threads): having that information ignored could affect anyway the other tests an

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @gaohoward I'm ok on not reporting a failure.. but it should always log a leakage.. even for failed tests.. We could instead of failing on leakage.. log.warn instead af

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @clebertsuconic @mtaylor @franz1981 We shouldn't disable the thread check for all tests. What this PR do it selectively disable the check for failing tests. If a test passes the check is

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @mtaylor the opposite.. we could have it enabled on the dev and test profiles.. and have it off by default. just like checkstyle is off on dev profile. ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @gaohoward test1 failed.. leaked.. than test2 failed because there's a thread leak... if you don't report the leak from 1.. you won't know that test2 could fail later..

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread franz1981
Github user franz1981 commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @clebertsuconic @gaohoward Some time ago has happened that I've written a test that was failing and I adming that having the thread leak check has helped me to find that a test wasn

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread mtaylor
Github user mtaylor commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 We already have a dev profile. Perhaps it could be disabled there. ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @clebertsuconic I don't think the PR make the debugging of thread leaking harder. For example suppose we have 3 tests, test1, test2 and test3 running in this order. Let's say tes

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread mtaylor
Github user mtaylor commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 How about we just have a system variable to switch off the thread check rule for debug purposes. Default being on. -DapplyThreadCheckRule=true ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 so, I don't mean to be disrespectul.. your changes are nice technically.. but I don't want to lose visibility of leaking threads.. even if it's for a failed test. ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 a failing test leaking is a double failure... it failed and then leaked.. you can fix that situation with finally blocks... ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @gaohoward I have been there before... finding a test that's failing because of a previous leak it's not fun... I don't want to back into that... If a thread is leaking a t

[GitHub] activemq-artemis issue #1801: ARTEMIS-1607 OpenWire is sending responses too...

2018-01-22 Thread franz1981
Github user franz1981 commented on the issue: https://github.com/apache/activemq-artemis/pull/1801 Possibly I will add a test but is tricky and I need to run CI on it too :+1: ---

[GitHub] activemq-artemis pull request #1801: ARTEMIS-1607 OpenWire is sending respon...

2018-01-22 Thread franz1981
GitHub user franz1981 opened a pull request: https://github.com/apache/activemq-artemis/pull/1801 ARTEMIS-1607 OpenWire is sending responses too early with durable messages AMQSession is sending response back without waiting past I/O tasks on StorageManager to be finished You can m

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 I think the more interesting case is that a 'passing' test that leaking threads. If that's the case it's very hard to debug. But for a failing test, leaking threads is not that meaningfu

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 We are supposed to write tests to cleanup resources.. even when it fails. ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 failed tests are also supposed to cleanup their resources... example try { } finally { close() } ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread gaohoward
Github user gaohoward commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 @clebertsuconic If a failing test causes thread leaking and causes other tests to fail, the thread checking can't fix it right? ---

[GitHub] activemq-artemis issue #1793: ARTEMIS-1498: Openwire internal headers should...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1793 Let me see if I understand.. you implemented OpenwireMessage here? ---

[GitHub] activemq-artemis issue #1800: ARTEMIS-1626 Disable thread leak check for fai...

2018-01-22 Thread clebertsuconic
Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1800 -1 I don't agree with this... a thread leaking on a failing test will make another test to fail. This is about raising awareness of leaked threads. ---

[GitHub] activemq-artemis pull request #1800: ARTEMIS-1626 Disable thread leak check ...

2018-01-22 Thread gaohoward
GitHub user gaohoward opened a pull request: https://github.com/apache/activemq-artemis/pull/1800 ARTEMIS-1626 Disable thread leak check for failing tests The ThreadLeakCheckRule is used to check thread leaks after each test is finished. However when a test fails, it is not n

[GitHub] activemq-artemis pull request #1799: ARTEMIS-1625 fix moving messages

2018-01-22 Thread stanlyDoge
GitHub user stanlyDoge opened a pull request: https://github.com/apache/activemq-artemis/pull/1799 ARTEMIS-1625 fix moving messages You can merge this pull request into a Git repository by running: $ git pull https://github.com/stanlyDoge/activemq-artemis E986 Alternatively y

[GitHub] activemq-artemis pull request #1785: [ARTEMIS-1030] add support for mapping ...

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1785 ---

[GitHub] activemq-artemis pull request #1785: [ARTEMIS-1030] add support for mapping ...

2018-01-22 Thread gtully
Github user gtully commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1785#discussion_r162907379 --- Diff: tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/VirtualTopicToFQQNOpenWireTest.java --- @@

[GitHub] activemq-artemis issue #1775: ARTEMIS-1587 Add setting to control the queue ...

2018-01-22 Thread jostbg
Github user jostbg commented on the issue: https://github.com/apache/activemq-artemis/pull/1775 @michaelandrepearce All thoughts and ideas are appreciated :-) I could achieve what we need (despite it violates JMS spec) by changing the durable flag of a QueueConfig in beforeCreateQueue

[GitHub] activemq-artemis pull request #1794: [ARTEMIS-1552] differenciate empty fram...

2018-01-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/activemq-artemis/pull/1794 ---

[GitHub] activemq-artemis issue #1794: [ARTEMIS-1552] differenciate empty frame from ...

2018-01-22 Thread andytaylor
Github user andytaylor commented on the issue: https://github.com/apache/activemq-artemis/pull/1794 looks good will get it merged ---

[GitHub] activemq-artemis issue #1775: ARTEMIS-1587 Add setting to control the queue ...

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on the issue: https://github.com/apache/activemq-artemis/pull/1775 On the note of broker plugin, you do realise you can intercept beforeCreateAddress and beforeCreateQueue and a lot of other functions, this way you could do what you want withou

[GitHub] activemq-artemis issue #1795: [ARTEMIS-1609] Add distinct name/address for J...

2018-01-22 Thread jmesnil
Github user jmesnil commented on the issue: https://github.com/apache/activemq-artemis/pull/1795 Commit amended with a test ---

[GitHub] activemq-artemis issue #1775: ARTEMIS-1587 Add setting to control the queue ...

2018-01-22 Thread michaelandrepearce
Github user michaelandrepearce commented on the issue: https://github.com/apache/activemq-artemis/pull/1775 As I stated there is already a global flag, if there is an address level flag then this should have the exact same behaviour. Also I’m not advocating changing the global flag

[GitHub] activemq-artemis issue #1775: ARTEMIS-1587 Add setting to control the queue ...

2018-01-22 Thread jostbg
Github user jostbg commented on the issue: https://github.com/apache/activemq-artemis/pull/1775 @michaelandrepearce I cannot modify the durable flag of AMQP messages as they are meant to be immutable and it would prevent using features like digital signatures AFAIK. What we are lookin