[jira] [Updated] (AMQ-9455) DestinationPolicy to support MessageStrategy

2024-04-29 Thread Matt Pavlovich (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Pavlovich updated AMQ-9455:

Fix Version/s: 6.2.0

> DestinationPolicy to support MessageStrategy
> 
>
> Key: AMQ-9455
> URL: https://issues.apache.org/jira/browse/AMQ-9455
> Project: ActiveMQ Classic
>  Issue Type: New Feature
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> A configurable list of message policy entries that will all for message 
> enrichment and enforcement of message content policies.
> This feature would serve to replace broker-wide plugins:
> ForcePersistencyModeBrokerPlugin
> TimeStampingBrokerPLugin
> UserIDBroker



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (AMQ-9487) Deprecated tag for ForcePersistencyModeBroker and TimeStampingBrokerPlugin

2024-04-29 Thread Matt Pavlovich (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Pavlovich reassigned AMQ-9487:
---

Assignee: Matt Pavlovich

> Deprecated tag for ForcePersistencyModeBroker and TimeStampingBrokerPlugin
> --
>
> Key: AMQ-9487
> URL: https://issues.apache.org/jira/browse/AMQ-9487
> Project: ActiveMQ Classic
>  Issue Type: Task
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
>
> Prefer to configure a HeaderMessageStrategy on a DestinationPolicy instead



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (AMQ-9455) DestinationPolicy to support MessageStrategy

2024-04-29 Thread Matt Pavlovich (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Pavlovich updated AMQ-9455:

Summary: DestinationPolicy to support MessageStrategy  (was: 
MessagePolicies added to DestinationPolicy)

> DestinationPolicy to support MessageStrategy
> 
>
> Key: AMQ-9455
> URL: https://issues.apache.org/jira/browse/AMQ-9455
> Project: ActiveMQ Classic
>  Issue Type: New Feature
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> A configurable list of message policy entries that will all for message 
> enrichment and enforcement of message content policies.
> This feature would serve to replace broker-wide plugins:
> ForcePersistencyModeBrokerPlugin
> TimeStampingBrokerPLugin
> UserIDBroker



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AMQ-9487) Deprecated tag for ForcePersistencyModeBroker and TimeStampingBrokerPlugin

2024-04-29 Thread Matt Pavlovich (Jira)
Matt Pavlovich created AMQ-9487:
---

 Summary: Deprecated tag for ForcePersistencyModeBroker and 
TimeStampingBrokerPlugin
 Key: AMQ-9487
 URL: https://issues.apache.org/jira/browse/AMQ-9487
 Project: ActiveMQ Classic
  Issue Type: Task
Reporter: Matt Pavlovich


Prefer to configure a HeaderMessageStrategy on a DestinationPolicy instead



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (AMQ-9457) Add activemq-bom

2024-04-29 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-9457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842205#comment-17842205
 ] 

ASF subversion and git services commented on AMQ-9457:
--

Commit e116b5a47d158652bad1e8a3077511dd29d53e82 in activemq's branch 
refs/heads/main from Matt Pavlovich
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=e116b5a47 ]

Merge branch 'mattrpav-AMQ-9457'


> Add activemq-bom
> 
>
> Key: AMQ-9457
> URL: https://issues.apache.org/jira/browse/AMQ-9457
> Project: ActiveMQ Classic
>  Issue Type: New Feature
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Add an activemq-bom to assist in managing dependencies when using activemq 
> artifacts



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (AMQ-9457) Add activemq-bom

2024-04-29 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-9457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842204#comment-17842204
 ] 

ASF subversion and git services commented on AMQ-9457:
--

Commit dc7c07e873f9e363907bd0f3c15751e9bf2fc119 in activemq's branch 
refs/heads/main from Matt Pavlovich
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=dc7c07e87 ]

[AMQ-9457] Add activemq-bom-client


> Add activemq-bom
> 
>
> Key: AMQ-9457
> URL: https://issues.apache.org/jira/browse/AMQ-9457
> Project: ActiveMQ Classic
>  Issue Type: New Feature
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Add an activemq-bom to assist in managing dependencies when using activemq 
> artifacts



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (AMQ-9457) Add activemq-bom

2024-04-29 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9457?focusedWorklogId=916935&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916935
 ]

ASF GitHub Bot logged work on AMQ-9457:
---

Author: ASF GitHub Bot
Created on: 30/Apr/24 00:36
Start Date: 30/Apr/24 00:36
Worklog Time Spent: 10m 
  Work Description: mattrpav merged PR #1178:
URL: https://github.com/apache/activemq/pull/1178




Issue Time Tracking
---

Worklog Id: (was: 916935)
Time Spent: 2h  (was: 1h 50m)

> Add activemq-bom
> 
>
> Key: AMQ-9457
> URL: https://issues.apache.org/jira/browse/AMQ-9457
> Project: ActiveMQ Classic
>  Issue Type: New Feature
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Add an activemq-bom to assist in managing dependencies when using activemq 
> artifacts



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (AMQ-9480) Update activemq-osgi import for Jetty 11

2024-04-29 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-9480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842198#comment-17842198
 ] 

ASF subversion and git services commented on AMQ-9480:
--

Commit 77ae81cbd88642f936363dde71f15f62ced7a03e in activemq's branch 
refs/heads/main from Matt Pavlovich
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=77ae81cbd ]

[AMQ-9480] Update activemq-osgi import for Jetty 11 and 12


> Update activemq-osgi import for Jetty 11
> 
>
> Key: AMQ-9480
> URL: https://issues.apache.org/jira/browse/AMQ-9480
> Project: ActiveMQ Classic
>  Issue Type: Task
>  Components: OSGi/Karaf
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (AMQ-9480) Update activemq-osgi import for Jetty 11

2024-04-29 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9480?focusedWorklogId=916933&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916933
 ]

ASF GitHub Bot logged work on AMQ-9480:
---

Author: ASF GitHub Bot
Created on: 30/Apr/24 00:27
Start Date: 30/Apr/24 00:27
Worklog Time Spent: 10m 
  Work Description: mattrpav merged PR #1205:
URL: https://github.com/apache/activemq/pull/1205




Issue Time Tracking
---

Worklog Id: (was: 916933)
Time Spent: 20m  (was: 10m)

> Update activemq-osgi import for Jetty 11
> 
>
> Key: AMQ-9480
> URL: https://issues.apache.org/jira/browse/AMQ-9480
> Project: ActiveMQ Classic
>  Issue Type: Task
>  Components: OSGi/Karaf
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (AMQ-9486) Upgrade Spring 6.1.6

2024-04-29 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9486?focusedWorklogId=916931&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916931
 ]

ASF GitHub Bot logged work on AMQ-9486:
---

Author: ASF GitHub Bot
Created on: 30/Apr/24 00:14
Start Date: 30/Apr/24 00:14
Worklog Time Spent: 10m 
  Work Description: mattrpav merged PR #1211:
URL: https://github.com/apache/activemq/pull/1211




Issue Time Tracking
---

Worklog Id: (was: 916931)
Time Spent: 20m  (was: 10m)

> Upgrade Spring 6.1.6
> 
>
> Key: AMQ-9486
> URL: https://issues.apache.org/jira/browse/AMQ-9486
> Project: ActiveMQ Classic
>  Issue Type: Dependency upgrade
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (AMQ-9486) Upgrade Spring 6.1.6

2024-04-29 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-9486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842194#comment-17842194
 ] 

ASF subversion and git services commented on AMQ-9486:
--

Commit acf2ddd099645048aae4e7f5e8c2b4484ac5ee12 in activemq's branch 
refs/heads/main from Matt Pavlovich
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=acf2ddd09 ]

[AMQ-9486] Upgrade Spring 6.1.6


> Upgrade Spring 6.1.6
> 
>
> Key: AMQ-9486
> URL: https://issues.apache.org/jira/browse/AMQ-9486
> Project: ActiveMQ Classic
>  Issue Type: Dependency upgrade
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (AMQ-9486) Upgrade Spring 6.1.6

2024-04-29 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9486?focusedWorklogId=916873&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916873
 ]

ASF GitHub Bot logged work on AMQ-9486:
---

Author: ASF GitHub Bot
Created on: 29/Apr/24 16:07
Start Date: 29/Apr/24 16:07
Worklog Time Spent: 10m 
  Work Description: mattrpav opened a new pull request, #1211:
URL: https://github.com/apache/activemq/pull/1211

   (no comment)




Issue Time Tracking
---

Worklog Id: (was: 916873)
Remaining Estimate: 0h
Time Spent: 10m

> Upgrade Spring 6.1.6
> 
>
> Key: AMQ-9486
> URL: https://issues.apache.org/jira/browse/AMQ-9486
> Project: ActiveMQ Classic
>  Issue Type: Dependency upgrade
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work started] (AMQ-9486) Upgrade Spring 6.1.6

2024-04-29 Thread Matt Pavlovich (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on AMQ-9486 started by Matt Pavlovich.
---
> Upgrade Spring 6.1.6
> 
>
> Key: AMQ-9486
> URL: https://issues.apache.org/jira/browse/AMQ-9486
> Project: ActiveMQ Classic
>  Issue Type: Dependency upgrade
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AMQ-9486) Upgrade Spring 6.1.6

2024-04-29 Thread Matt Pavlovich (Jira)
Matt Pavlovich created AMQ-9486:
---

 Summary: Upgrade Spring 6.1.6
 Key: AMQ-9486
 URL: https://issues.apache.org/jira/browse/AMQ-9486
 Project: ActiveMQ Classic
  Issue Type: Dependency upgrade
Reporter: Matt Pavlovich






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (AMQ-9486) Upgrade Spring 6.1.6

2024-04-29 Thread Matt Pavlovich (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Pavlovich updated AMQ-9486:

Fix Version/s: 6.2.0

> Upgrade Spring 6.1.6
> 
>
> Key: AMQ-9486
> URL: https://issues.apache.org/jira/browse/AMQ-9486
> Project: ActiveMQ Classic
>  Issue Type: Dependency upgrade
>Reporter: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (AMQ-9486) Upgrade Spring 6.1.6

2024-04-29 Thread Matt Pavlovich (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-9486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Pavlovich reassigned AMQ-9486:
---

Assignee: Matt Pavlovich

> Upgrade Spring 6.1.6
> 
>
> Key: AMQ-9486
> URL: https://issues.apache.org/jira/browse/AMQ-9486
> Project: ActiveMQ Classic
>  Issue Type: Dependency upgrade
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (AMQ-9482) Broker crashes after runaway threads spawn

2024-04-29 Thread Tom Tichy (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-9482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841923#comment-17841923
 ] 

Tom Tichy commented on AMQ-9482:


Ok. Let me get a thread dump. The challenge is that since this is a production, 
I deal with the issue by immediately restarting the broker and switching to the 
secondary.

> Broker crashes after runaway threads spawn
> --
>
> Key: AMQ-9482
> URL: https://issues.apache.org/jira/browse/AMQ-9482
> Project: ActiveMQ Classic
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.17.6, 6.0.1
> Environment: Bitnami created AMI in AWS
>Reporter: Tom Tichy
>Priority: Major
> Attachments: brokerInfo-after-crash-redacted.json
>
>
> Running on Bitnami created AMI in AWS. The broker has about 7000 devices 
> connected via MQTT. Each devices has its own topic name.
> Broker stays up for about 4-5 days before being hobbled and unable to create 
> any new tasks/accept any new connections.
> (There is identical setup for staging environment with about 100 devices 
> connected. It runs without any issues.)
> I have troubleshot the cause to be the systemd task limit. The current 
> `TasksMax` is 18100. When running normally, the number of tasks is about 300. 
> Then (every 4-5 days) there is a quick spike to the max 18100 tasks and it 
> stays there never coming back down. The result is that the broker just sits 
> there, does nothing useful and keeps logging the following message
>  
> {code:java}
> [659914.788s][warning][os,thread] Failed to start thread "Unknown thread" - 
> pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, g
> uardsize: 0k, detached.
> [659914.788s][warning][os,thread] Failed to start the native thread for 
> java.lang.Thread "ActiveMQ BrokerService[localhost] Task-281805"
> ERROR | Scheduled task error
> java.lang.OutOfMemoryError: unable to create native thread: possibly out of 
> memory or process/resource limits reached
>         at java.lang.Thread.start0(Native Method) ~[?:?]
>         at java.lang.Thread.start(Thread.java:809) ~[?:?]
>         at 
> java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
>  ~[?:?]
>         at 
> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1364) 
> ~[?:?]
>         at 
> org.apache.activemq.thread.TaskRunnerFactory.execute(TaskRunnerFactory.java:173)
>  ~[activemq-client-6.0.1.jar:6.0.1]
>         at 
> org.apache.activemq.thread.TaskRunnerFactory.execute(TaskRunnerFactory.java:165)
>  ~[activemq-client-6.0.1.jar:6.0.1]
>         at org.apache.activemq.broker.region.Topic$7.run(Topic.java:820) 
> ~[activemq-broker-6.0.1.jar:6.0.1]
>         at 
> org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:39) 
> ~[activemq-client-6.0.1.jar:6.0.1]
>         at java.util.TimerThread.mainLoop(Timer.java:566) ~[?:?]
>         at java.util.TimerThread.run(Timer.java:516) ~[?:?]
> Exception in thread "ActiveMQ Broker[localhost] Scheduler" 
> java.lang.OutOfMemoryError: unable to create native thread: possibly out of 
> memory or process/resource limits reached
>         at java.base/java.lang.Thread.start0(Native Method)
>         at java.base/java.lang.Thread.start(Thread.java:809)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1364)
>         at 
> org.apache.activemq.thread.TaskRunnerFactory.execute(TaskRunnerFactory.java:173)
>         at 
> org.apache.activemq.thread.TaskRunnerFactory.execute(TaskRunnerFactory.java:165)
>         at org.apache.activemq.broker.region.Topic$7.run(Topic.java:820)
>         at 
> org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:39)
>         at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
>         at java.base/java.util.TimerThread.run(Timer.java:516)
>  {code}
>  
> The start command is 
> {code:java}
> /opt/bitnami/java/bin/java -Xms2G -Xmx4G 
> -Djava.util.logging.config.file=logging.properties 
> -Djava.security.auth.login.config=/opt/bitnami/activemq/conf/login.config 
> -Dorg.apache.activemq.UseDedicatedTaskRunner=false 
> -Dcom.sun.management.jmxremote -Djava.awt.headless=true 
> -Djava.io.tmpdir=/opt/bitnami/activemq/tmp --add-reads=java.xml=java.logging 
> --add-opens java.base/java.security=ALL-UNNAMED --add-opens 
> java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED 
> --add-opens java.base/java.util=ALL-UNNAMED --add-opens 
> java.naming/javax.naming.spi=ALL-UNNAMED --add-opens 
> java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED --add-opens 
> java.base/java.util.concurrent=ALL-UNNAMED --add-opens 
> java.base/java.util.concurrent.atomic=ALL-UNNAMED