#Web server port, actuator will be accessed on this port
server.port=

#Solace Connection
spring.cloud.stream.binders.solace.environment.solace.java.host=tcps://<solace-host>:<solace-port>
spring.cloud.stream.binders.solace.environment.solace.java.msgVpn=
spring.cloud.stream.binders.solace.environment.solace.java.clientUsername=
spring.cloud.stream.binders.solace.environment.solace.java.clientPassword=

#Oracle to Solace communication publishes to the following Solace topic:
#spring.cloud.stream.bindings.solacePublisher-out-0.destination=topic/received/oracle


#Solace to Oracle communication consumes from the following Solace queue:
spring.cloud.stream.bindings.solaceConsumer-in-0.group=

# Oracle JDBC thin URL (Ex: jdbc:oracle:thin:@//database.com/SID )
spring.datasource.url=jdbc:oracle:thin:@//dbserver:dbport/dbsid

#Oracle datasource username
spring.datasource.username=ABSSOLUTE_JMSUSER

#Oracle password for abssolute_jmsuser
spring.datasource.password=

########################################################################################################################
########## DO NOT CHANGE ANYTHING BELOW OR THE APPLICATION MAY FAIL TO START OR WORK PROPERLY!!! #######################
########################################################################################################################
spring.application.name=ConnSolace
info.app.version=1.0.0
solace.pubsubdomain=false

spring.cloud.stream.binders.solace.type=solace
spring.cloud.function.definition=solacePublisher;solaceConsumer
spring.cloud.stream.binders.solace.environment.solace.java.connectRetries=0
spring.cloud.stream.binders.solace.environment.solace.java.connectRetriesPerHost=0

spring.cloud.stream.solace.bindings.solaceConsumer-in-0.consumer.add-destination-as-subscription-to-queue=false
spring.cloud.stream.solace.bindings.solaceConsumer-in-0.consumer.queue-name-expression="${spring.cloud.stream.bindings.solaceConsumer-in-0.group}"

# Set if it should use existing queue or create a new queue. Possible values: false(use existing queue) or true(create new queue). Default: false
spring.cloud.stream.solace.bindings.solaceConsumer-in-0.consumer.provision-durable-queue=false

# The access type for the queue: Possible values: 0(Non-exclusive) or 1(Exclusive). Default: 1
spring.cloud.stream.solace.bindings.solaceConsumer-in-0.consumer.queue-access-type=1

# Set the queue Non-Owner Permission. Possible values: 0(No Access), 1(Read Only), 2(Consume), 3(Modify Topic), 4(Delete). Default: 0
spring.cloud.stream.solace.bindings.solaceConsumer-in-0.consumer.queue-permission=0

#spring.cloud.stream.solace.bindings.solaceConsumer-in-0.consumer.auto-bind-error-queue=true
#spring.cloud.stream.solace.bindings.solaceConsumer-in-0.consumer.error-queue-name-expression="error_queue"
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
logging.config=./config/logback.xml

oracle.source.queue=SEND_TO_SOLACE_QUEUE
oracle.destination.queue=RECEIVE_FROM_SOLACE_QUEUE

# HikariCP settings
spring.datasource.hikari.minimum-idle=5
spring.datasource.hikari.maximum-pool-size=20
spring.datasource.hikari.idle-timeout=30000
spring.datasource.hikari.connection-timeout=30000
spring.datasource.hikari.max-lifetime=1800000
