diff --git a/examples/activemq-multiple-brokers/src/main/java/org/superbiz/rest/service/Broadcaster.java b/examples/activemq-multiple-brokers/src/main/java/org/superbiz/rest/service/Broadcaster.java index 21a00df9058..2ccaa4cad65 100644 --- a/examples/activemq-multiple-brokers/src/main/java/org/superbiz/rest/service/Broadcaster.java +++ b/examples/activemq-multiple-brokers/src/main/java/org/superbiz/rest/service/Broadcaster.java @@ -1,12 +1,32 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.rest.service; -import jakarta.ejb.*; +import jakarta.ejb.EJB; +import jakarta.ejb.Singleton; +import jakarta.ejb.TransactionAttribute; +import jakarta.ejb.TransactionAttributeType; +import jakarta.ejb.TransactionManagement; +import jakarta.ejb.TransactionManagementType; import javax.naming.InitialContext; import javax.naming.NameClassPair; import javax.naming.NamingEnumeration; -import javax.naming.NamingException; @Singleton @TransactionManagement(TransactionManagementType.CONTAINER) diff --git a/examples/activemq-multiple-brokers/src/main/java/org/superbiz/rest/service/Producer.java b/examples/activemq-multiple-brokers/src/main/java/org/superbiz/rest/service/Producer.java index d572bf1ef4b..0211d2d0fbf 100644 --- a/examples/activemq-multiple-brokers/src/main/java/org/superbiz/rest/service/Producer.java +++ b/examples/activemq-multiple-brokers/src/main/java/org/superbiz/rest/service/Producer.java @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.rest.service;