Skip to content

Commit

Permalink
add ejb-jar testing for concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAure committed Dec 6, 2023
1 parent ed09bbe commit bfe3b2f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions xml/src/ejb-jar_4_0.xsds
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2009, 2023 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -71,7 +71,7 @@

<!-- **************************************************** -->

<xsd:include schemaLocation="jakartaee_9.xsd"/>
<xsd:include schemaLocation="jakartaee_11.xsd"/>

<!-- **************************************************** -->

Expand Down
10 changes: 9 additions & 1 deletion xml/test/ejb-jar-concurrency.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2021 Contributors to the Eclipse Foundation
Copyright (c) 2021, 2023 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -32,10 +32,13 @@
<cleared>Transaction</cleared>
<propagated>Application</propagated>
<unchanged>Remaining</unchanged>
<qualifier>ee.jakarta.MyQualifier</qualifier>
</context-service>
<managed-thread-factory>
<name>java:module/concurrent/lowest-priority-threads</name>
<priority>1</priority>
<virtual>true</virtual>
<qualifier>ee.jakarta.MyQualifier</qualifier>
</managed-thread-factory>
</session>
<entity>
Expand All @@ -51,11 +54,16 @@
<managed-executor>
<name>java:module/concurrent/executor-2</name>
<max-async>2</max-async>
<virtual>false</virtual>
<qualifier>ee.jakarta.MyQualifier</qualifier>
<qualifier>ee.jakarta.MyQualifier2</qualifier>
</managed-executor>
<managed-scheduled-executor>
<name>java:comp/concurrent/my-scheduled-executor</name>
<max-async>10</max-async>
<hung-task-threshold>50000</hung-task-threshold>
<virtual>true</virtual>
<qualifier>ee.jakarta.MyQualifier</qualifier>
</managed-scheduled-executor>
</entity>
<message-driven>
Expand Down

0 comments on commit bfe3b2f

Please sign in to comment.