#
# Copyright (c) 2024 Oracle and/or its affiliates.
#
# Licensed 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.
#

server:
  port: 7001
  host: 0.0.0.0

  static.classpath:
    location: /WEB
    welcome: index.html

javax.sql.DataSource:
  aq-test-ds:
    connectionFactoryClassName: oracle.jdbc.pool.OracleDataSource
    URL: jdbc:oracle:thin:@localhost:1521:XE
    user: frank
    password: frank

mp.messaging:
  connector:
    helidon-aq:
      acknowledge-mode: CLIENT_ACKNOWLEDGE
      data-source: aq-test-ds

  outgoing:
    to-queue-1:
      connector: helidon-aq
      destination: EXAMPLE_QUEUE_1
      type: queue

    to-queue-2:
      connector: helidon-aq
      destination: EXAMPLE_QUEUE_2
      type: queue

  incoming:
    from-queue-1:
      connector: helidon-aq
      destination: EXAMPLE_QUEUE_1
      type: queue

    from-queue-2:
      connector: helidon-aq
      destination: EXAMPLE_QUEUE_2
      type: queue

    from-byte-queue:
      connector: helidon-aq
      destination: example_queue_bytes
      type: queue

    from-map-queue:
      connector: helidon-aq
      destination: example_queue_map
      type: queue
