createOrUpdateJMSEntries

Creates or updates JMS Entries defined by properties files. The properties files will be processed for property replacement using ${{VARIABLE_NAME}} format. See Property Replacement Support for more information about property replacement.

If using multiple files, make sure that the lists contain unique values across files.

If you want to detect changes in WebLogic resource (properties) files and only deploy changed files, you can implement custom workflow as defined in Custom Workflow to detect changes in Properties Files.

Blog Posts

Environment/Instance Properties

Property Name

Property Code

Required

Description

Oracle Weblogic Home (WL_HOME)

FDWLS_WEBLOGIC_HOME

Yes

WebLogic Home Directory. (e.g. /u01/oracle/products/fmw/wlserver)

Weblogic Domain Name

FDWLS_DOMAIN_NAME

Yes

WebLogic Domain Name.

Weblogic Admin Listen Address

FDWLS_ADMIN_LISTEN_ADDRESS

Yes

The listener address of the WLS admin server. (e.g. localhost)

Weblogic Admin Listen Port

FDWLS_ADMIN_LISTEN_PORT

Yes

The port of the WLS admin server. (e.g. 7001)

Weblogic Admin SSL Connection

FDWLS_ADMIN_USE_SSL

No

Indicates whether the admin server is using SSL.

Weblogic Admin User

FDWLS_ADMIN_USER

Yes

The user name for the WLS admin server.

Weblogic Admin Password

FDWLS_ADMIN_PASSWORD

Yes

The password for Weblogic Admin User.

Weblogic Admin Domain Directory

FDWLS_ADMIN_DOMAIN_DIRECTORY

No

Weblogic Domain Directory for AdminServer. If not provided, Weblogic Domain Directory will be used.

Weblogic Domain Directory

FDWLS_DOMAIN_DIRECTORY

Yes

Weblogic Domain Directory.(e.g. /u01/oracle/config/domains/soa_domain)

Project Properties

Property Name

Property Code

Required

Description





Inputs

Property Name

Property Code

Required

Description

Properties File Path

FILE_PATH_TO_PROPERTIES

No

Comma-separated list of paths to the properties file(s).
If relative paths are given, they are assumed relative to the FD_ARTIFACTS_DIR directory.
If this property is not specified, all properties files in the FD_ARTIFACTS_DIR directory will be processed.

Outputs

Output Name

Required

Description

FDWLS_OUT_IS_RESTART_REQUIRED

No

A boolean value that indicates whether the server needs to be restarted to finish applying the configuration changes. You could use this in a workflow condition.

Artifacts

This operation consumes properties-file artifacts.

Endpoint Selection

This operation will select all available endpoints associated to the environment instance which have a resource type of WLS Admin Server. Since the admin server only runs on one server, it is expected that for a given domain, there will only be one endpoint with a resource type set to WLS Admin Server.

Endpoint Execution

This operation will execute on the Admin Server endpoint selected using the WLS Admin Server resource type.

Special Considerations

If Properties File Path is not specified, the FD_ARTIFACTS_DIR folder will be used. If a relative path is specified, the path will be relative to the FD_ARTIFACTS_DIR directory. WebLogic configuration files including JMS modules are backed up to FD_TEMP_DIR/configbackup before modifications. As with all files in the endpoint working directory, these files will be saved for 3 days before being deleted.

Example Folder Structure

  • Properties file can be named as per your requirements. See Example Properties File below.
  • jmsconfigurations.properties – This is the main properties file. The path to it is referenced by Properties File Path .
  • DEV/ jmsconfigurations.properties- optionally create a file here and override some properties with it per environment. The filename must match.
  • PROD/ jmsconfigurations.properties - optionally have several environments.
    • Sub folder names for environment overrides must be FlexDeploy environment code.

Example Property File

This sample file defines a few simple JMS objects with a sub-set of the available properties. The name used in each of the lists will be the name used on the server.

Backslash in Properties file

If you want \ (backslash) in any property value, use \\ or \u005c. This is Java properties file load syntax.

SystemModuleList=Flex_JMSModule1
SubDeploymentList=Flex_JMSSubdeployment1
ConnectionFactoryList=CF1
QueueList=Q1
TopicList=T1
UniformDistributedQueueList=UDQ1
UniformDistributedTopicList=UDT1

Flex_JMSModule1.Targets=MS1

Flex_JMSSubdeployment1.SystemModule=Flex_JMSModule1
Flex_JMSSubdeployment1.Targets=Flex_JMSServer1

CF1.SystemModule=Flex_JMSModule1
CF1.JNDI=jms/CF1
CF1.Targets=MS1
CF1.XAConnectionFactoryEnabled=False
CF1.DefaultTargetingEnabled=True

Q1.SystemModule=Flex_JMSModule1
Q1.JNDI=jms/Q1
Q1.SubDeployment=Flex_JMSSubdeployment1
Q1.DeliveryMode=Persistent

T1.SystemModule=Flex_JMSModule1
T1.JNDI=jms/T1
T1.SubDeployment=Flex_JMSSubdeployment1

UDQ1.SystemModule=Flex_JMSModule1
UDQ1.JNDI=jms/UDQ1
UDQ1.SubDeployment=Flex_JMSSubdeployment1
UDQ1.Notes=Notes on UDQ1

UDT1.SystemModule=Flex_JMSModule1
UDT1.JNDI=jms/UDT1
UDT1.SubDeployment=Flex_JMSSubdeployment1
UDT1.Notes=Notes on UDT1

Properties File Format

Multiple JMS objects can be specified in each properties file. Each properties file must start with one or more lists of JMS element types present in the file. Any number of element types is acceptable in each file, and any number of each type of element is acceptable as well. If using multiple files, make sure that the lists contain unique values across files.

The properties files will be processed for property replacement using ${{VARIABLE_NAME}} format. See Property Replacement Support for more information about property replacement.

All required properties are listed with an asterisk (all other properties are optional).

Connection Factory

Property Name

Default Value

 Notes

Name*<not set>

SystemModule*

<not set>


JNDI

<not set>


AcknowledgePolicy

All


AttachJMSXUserId

False

(True | False)

ClientID

<not set>


ClientIdPolicy

Restricted

(Restricted | Unrestricted)

DefaultCompressionThreshold

2147483647


DefaultDeliveryMode

Persistent

(Persistent | Non-Persistent)

DefaultPriority

4


DefaultRedeliveryDelay

0


DefaultTargetingEnabled

True

(True | False)

DefaultTimeToDeliver

0


DefaultTimeToLive

0


DefaultUnitOfOrder

None

(None | Other | System)

UserDefaultUnitOfOrder

<not set>

used if DefaultUnitOfOrder is Other

FlowInterval

60


FlowMaximum

500


FlowMinimum

50


FlowSteps

10


LoadBalancingEnabled

True

(True | False)

LocalJNDIName

<not set>


MessagesMaximum

10


MulticastOverrunPolicy

KeepOld

(KeepOld | KeepNew)

Notes

<not set>


OneWaySendMode

Disabled

(disabled | enabled)

OneWaySendWindowSize

1


ReconnectBlockingMillis

60000


ReconnectPolicy

Producer

(all | none | producer)

SendTimeout

10


ServerAffinityEnabled

True

(True | False)

SubscriptionSharingPolicy

Exclusive

(Exclusive | Sharable)

SynchronousPrefetchMode

Disabled

(disabled | topicSubscriberOnly | enabled)

TotalReconnectPeriodMillis

-1


TransactionTimeout

3600


XAConnectionFactoryEnabled

True

(True | False)

Destination Sort Key

Property Name

Default Value

Notes
Name*<not set>

SystemModule*

<not set>


KeyType

String


Notes

<not set>


SortKey

JMSMessageID


SortOrder

Ascending


File Store

Property Name

Default Value

Notes
StoreName*<not set>

Directory

<not set>


BlockSize

-1


MaxFileSize

1342177280


FileLockingEnabled

true

(True | False)

LogicalName

<not set>


InitialSize0
IoBufferSize1
SynchronousWritePolicy

Direct-Write

(Cache-Flush | Direct-Write-With-Cache | Direct-Write | Disabled)
CacheDirectory<not set>
Notes<not set>
Targets<not set>
MinWindowBufferSize-1
MaxWindowBufferSize-1
Properties below are only compatible with WLS Version 12.2.1+
InitialBootDelaySeconds-1
RestartInPlacetrue(True | False)
FailbackDelaySeconds-1
NumberOfRestartAttempts6
DistributionPolicy

Distributed

(Singleton | Distributed)
MigrationPolicy

Off

(Off | On-Failure | Always)
PartialClusterStabilityDelaySeconds-1
SecondsBetweenRestarts30
Partition<not set>
ResourceGroup<not set>
ResourceGroupTemplate<not set>

Foreign Server

Property Name

Default Value

Notes
Name*<not set>

SystemModule*

<not set>


ConnectionURL*

<not set>


DefaultTargetingEnabled

True

(True | False)

SubDeployment<not set>

ForeignCFNames

<not set>

Provide Comma-separated list of Foreign Connection Factories. For each name you can provide additional details like EncryptedPassword, HealthChecking, LocalJNDI, Password, RemoteJNDI, Username

ForeignCF{Name}EncryptedPassword

<not set>


ForeignCF{Name}HealthChecking

disabled

(disabled | enabled)

ForeignCF{Name}LocalJNDI

<not set>


ForeignCF{Name}Password

<not set>


ForeignCF{Name}RemoteJNDI

<not set>


ForeignCF{Name}Username

<not set>


ForeignDestinationNames

<not set>

Provide Comma-separated list of Foreign Destinations. For each name you can provide additional details like LocalJNDI, RemoteJNDI.

ForeignDestination{Name}LocalJNDI*

<not set>


ForeignDestination{Name}RemoteJNDI

<not set>


JNDIInititalContextFactory

weblogic.jndi.WLInitialContextFactory


JNDIPropertiesCredential

<not set>


JNDIPropertyNames

<not set>

Provide Comma-separated list of Property Name. For each name provide JNDIProerty to set value. For example.

  • ForeignJmsServer.JNDIPropertyNames=java.naming.security.principal
  • ForeignJmsServer.JNDIPropertyjava.naming.security.principal=user1
JNDIProperty{Name}

Notes

<not set>


JDBC Store

Property Name

Default Value

Notes
StoreName*<not set>

PrefixName

<not set>
CreateTableDDLFile<not set>
InsertsPerBatchMaximum20
ThreeStepThreshold200000
OraclePiggybackCommitEnabledfalse(true | false)
WorkerCount1
DeletesPerBatchMaximum20
DeletesPerStatementMaximum20
LogicalName<not set>
WorkerPreferredBatchSize10
Notes<not set>
Targets<not set>
Properties below are only compatible with WLS Version 12.2.1+
InitialBootDelaySeconds-1
RestartInPlacetrue(true | false)
FailbackDelaySeconds-1
NumberOfRestartAttempts6
DistributionPolicy

Distributed

(Singleton | Distributed)
MigrationPolicy

Off

(Off | On-Failure | Always)
PartialClusterStabilityDelaySeconds-1
SecondsBetweenRestarts30
Partition<not set>
ResourceGroup<not set>
ResourceGroupTemplate<not set>
MinWindowBufferSize-1
MaxWindowBufferSize-1

JMS Server

Property Name

Default Value

Notes

ServerName*

<not set>


PersistentStore

None


BytesThresholdLow

-1


BytesThresholdHigh

-1


MessagesThresholdLow

-1


MessagesThresholdHigh

-1
MaximumMessageSize2147483647
BytesMaximum-1
MessagesMaximum-1
TemporaryTemplateResource<not set>
TemporaryTemplateName<not set>
BlockingSendPolicyFIFO(FIFO | Preemptive)
MessageCompressionOptions (Version 12+ only)

GZIP_DEFAULT_COMPRESSION

(GZIP_DEFAULT_COMPRESSION | GZIP_BEST_COMPRESSION | GZIP_BEST_SPEED | LZF)
PagingMessageCompressionEnabled (Version 12+ only)false(true | false)
StoreMessageCompressionEnabled (Version 12+ only)false(true | false)
HostingTemporaryDestinationstrue(true | false)
AllowsPersistentDowngradefalse(true | false)
InsertionPausedAtStartupfalse(true | false)
PagingFileLockingEnabledtrue(true | false)
StoreEnabledtrue(true | false)
ConsumptionPausedAtStartupfalse(true | false)
ProductionPausedAtStartupfalse(true | false)
PagingMaxFileSize1342177280
PagingMaxWindowBufferSize-1
PagingMinWindowBufferSize-1
PagingIoBufferSize-1
PagingBlockSize-1
ExpirationScanInterval30
Targets<not set>
Notes<not set>
Properties below are only compatible with WLS Version 12.2.1+
Partition

<not set>


ResourceGroup<not set>
ResourceGroupTemplate

<not set>


Queue

Property Name

Default Value

Notes

Name*

<not set>


AttachSender

supports

(supports | always | never)

BytesHigh

9223372036854775807


BytesLow

9223372036854775807


ConsumptionPausedAtStartup

false


DefaultUnitOfOrder

false


DeliveryModeNo-Delivery(Non-Persistent | Persistent | No-Delivery)
DestinationSortKeys<not set>
ErrorDestination<not set>
ExpirationLoggingPolicy<not set>
ExpirationPolicyDiscard(Discard | Log | Redirect)
IncompleteWorkExpirationTime-1
InsertionPausedAtStartupfalse
JMSCreateDestinationIdentifier<not set>
JNDI<not set>
LocalJNDIName<not set>
MaximumMessageSize2147483647

MessageLoggingEnabled

False

(True | False)

MessageLoggingFormat

<not set>


MessagesHigh

9223372036854775807


MessagesLow

9223372036854775807


MessagingPerformancePreference

25


Notes

<not set>


Priority

-1


ProductionPausedAtStartup

False

(True | False)

Quota

<not set>


RedeliveryDelay

-1


RedeliveryLimit

-1


SAFExportPolicy

All

(All | None)

SubDeployment

<not set>


Template

<not set>


TimeToDeliver

-1


TimeToLive

-1


UnitOfWorkHandlingPolicyPassThrough(PassThrough | SingleMessageDelivery)

Quota

Property Name

Default Value

Notes
Name*<not set>

SystemModule*

<not set>


BytesMaximum

9223372036854775807


MessagesMaximum

9223372036854775807


Notes

<not set>


Policy

FIFO

(FIFO | Preemptive)

Shared

false

(true | false)

Replicated Store (WLS Version 12+)

Property Name

Default Value

Notes
StoreName*<not set>

RegionSize

134217728
LocalIndex0
IoBufferSize-1
Directory200000
OraclePiggybackCommitEnabledfalse(true | false)
WorkerCount1
DeletesPerBatchMaximum20
DeletesPerStatementMaximum20
LogicalName<not set>
WorkerPreferredBatchSize10
Notes<not set>
Targets<not set>
Properties below are only compatible with WLS Version 12.2.1+
InitialBootDelaySeconds-1
RestartInPlacetrue(true | false)
FailbackDelaySeconds-1
NumberOfRestartAttempts6
DistributionPolicy

Distributed

(Singleton | Distributed)
MigrationPolicy

Off

(Off | On-Failure | Always)
PartialClusterStabilityDelaySeconds-1
SecondsBetweenRestarts30
Partition<not set>
ResourceGroup<not set>
ResourceGroupTemplate<not set>
MinWindowBufferSize-1
MaxWindowBufferSize-1

Sub Deployment

Property Name

Default Value

Notes
Name*<not set>

SystemModule*

<not set>


Targets*

<not set>

Comma-separated list of target names (e.g. DefaultServer, Cluster1, server2)

System Module

Property Name

Default Value

Notes

SystemModule*

<not set>


Targets*

<not set>

Comma-separated list of target names (e.g. DefaultServer, Cluster1, server2)

Properties below are only compatible with WLS Version 12.2.1+

Partition

<not set>


ResourceGroup

<not set>


ResourceGroupTemplate<not set>

Topic

Property Name

Default Value

Notes
Name<not set>

SystemModule*

<not set>


AttachSender

supports  

(supports | always | never)

BytesHigh

9223372036854775807


BytesLow

9223372036854775807


ConsumptionPausedAtStartup

False

(True | False)

DefaultUnitOfOrder

False

(True | False) Auto-generate Unit-of-Order Name

DeliveryMode

No-Delivery

(Non-Persistent | Persistent | No-Delivery)

DestinationSortKeys

<not set>

Comma-separated names of destinations

ErrorDestination

<not set>


ExpirationLoggingPolicy

<not set>


ExpirationPolicy

Discard

(Discard | Log | Redirect)

IncompleteWorkExpirationTime

-1


InsertionPausedAtStartup

False


JMSCreateDestinationIdentifier

<not set>


JNDI

<not set>


LocalJNDIName

<not set>


MaximumMessageSize

2147483647


MessageLoggingEnabled

False

(True | False)

MessageLoggingFormat

<not set>


MessagesHigh

9223372036854775807


MessagesLow

9223372036854775807


MessagingPerformancePreference

25


MulticastAddress

<not set>


MulticastPort

6001


MulticastTimeToLive

-1


Notes

<not set>


Priority

-1


ProductionPausedAtStartup

False

(True | False)

Quota

<not set>


RedeliveryDelay

-1


RedeliveryLimit

-1


SAFExportPolicy

All 

(All | None)

SubDeployment

<not set>


Template

<not set>


TimeToDeliver

-1


TimeToLive

-1


UnitOfWorkHandlingPolicy

PassThrough

(PassThrough | SingleMessageDelivery)

Uniform Distributed Queue

Property Name

Default Value

Notes
Name*<not set>

SystemModule*

<not set>


AttachSender

supports

(supports | always | never)

BytesHigh

9223372036854775807


BytesLow

9223372036854775807


ConsumptionPausedAtStartup

False

(True | False)

DefaultTargetingEnabled

False

(True | False)

DefaultUnitOfOrder

False

(True | False)

DeliveryMode

No-Delivery

(Non-Persistent | Persistent | No-Delivery)

DestinationSortKeys

<not set>


ErrorDestination

<not set>


ExpirationLoggingPolicy

<not set>


ExpirationPolicy

Discard

(Discard | Log | Redirect)

ForwardDelay

-1


IncompleteWorkExpirationTime

1


InsertionPausedAtStartup

False

(False, True)

JMSCreateDestinationIdentifier

<not set>


JNDI

<not set>


LoadBalancingPolicy

Round-Robin    

(Random | Round-Robin)

LocalJNDIName

<not set>


MaximumMessageSize

2147483647


Members

<not set>


MessageLoggingEnabled

False

(True | False)

MessageLoggingFormat

<not set>


MessagesHigh

9223372036854775807


MessagesLow

9223372036854775807


MessagingPerformancePreference

25


Notes

<not set>


Priority

-1


Quota

<not set>


ProductionPausedAtStartup

False

(True | False)

RedeliveryDelay

-1


RedeliveryLimit

-1


ResetDeliveryCountOnForward

True

(True | False)

SAFExportPolicy

All

(All | None)

TimeToDeliver

-1


TimeToLive

-1


Uniform Distributed Topic

Property Name

Default Value

Notes
Name*<not set>

SystemModule*

<not set>


AttachSender

supports

(supports | always | never)

BytesHigh

9223372036854775807


BytesLow

9223372036854775807


ConsumptionPausedAtStartup

False

(True | False)

DefaultTargetingEnabled

False

(True | False)

DefaultUnitOfOrder

False

(True | False)

DeliveryMode

No-Delivery

(Persistent | Non-Persistent | No-Delivery)

DestinationSortKeys

<not set>


ErrorDestination

<not set>


ExpirationLoggingPolicy

<not set>


ExpirationPolicy

Discard

(Discard | Log | Redirect)

ForwardingPolicy

<not set>


IncompleteWorkExpirationTime

-1


InsertionPausedAtStartup

False

(True | False)

JMSCreateDestinationIdentifier

<not set>


JNDI

<not set>


LoadBalancingPolicy

Round-Robin

(Random | Round-Robin)

LocalJNDIName

<not set>


MaximumMessageSize

2147483647


Members

<not set>


MessageLoggingEnabled

False

(True | False)

MessageLoggingFormat

<not set>


MessagesHigh

9223372036854775807


MessagesLow

9223372036854775807


MessagingPerformancePreference

25


MulticastAddress

<not set>


MulticastPort

6001


MulticastTimeToLive

1


Notes

<not set>


Priority

-1


ProductionPausedAtStartup

False

(True | False)

Quota

<not set>


RedeliveryDelay

-1


RedeliveryLimit

-1


SAFExportPolicy

All

(All | None)

Template

<not set>


TimeToDeliver

-1


TimeToLive

-1


UnitOfOrderRouting

Hash

(Hash | PathService)

UnitOfWorkHandlingPolicy

PassThrough

(PassThrough | SingleMessageDelivery)

Weighted Distributed Queue

Property Name

Default Value

Notes
Name*<not set>

SystemModule*

<not set>                


{Member}Weight

1


ForwardDelay

-1


LoadBalancingPolicy

Round-Robin

(Random | Round-Robin)

Members

<not set>

Comma-separated Member Names

Notes

<not set>


ResetDeliveryCountOnForward

False

(True | False)

SAFExportPolicy

None      

(All | None)

UnitOfOrderRouting

Hash  

(Hash | PathService)

Weighted Distributed Topic

Property Name

Default Value


Name*<not set>

SystemModule*

<not set>


{Member}Weight

1


LoadBalancingPolicy

Round-Robin       

(Random | Round-Robin)

Members

<not set>

Comma-separated Member Names

Notes

<not set>


SAFExportPolicy

None          

(All | None)

UnitOfOrderRouting

Hash            

(Hash | PathService)

Bridge

Property Name

Default Value

 Notes

NameThe name from the list is used by default.
AsyncEnabledtrue(true | false)
DistributionPolicySingleton(Distributed | Singleton)
DurabilityEnabledtrue(true | false)
IdleTimeMaximum60
MigrationPolicyOn-Failure(Always | Off | On-Failure)
Notes<not set>
PreserveMsgPropertyfalse(true | false)
QualityOfServiceExactly-once(Atmost-once | Duplicate-okay | Exactly-once)
QOSDegradationAllowedfalse(true | false)
SelectorEmpty Value

SourceDestination*

<not set>


Startedfalse(true | false)

TargetDestination*

<not set>


Targets*

<not set>


Bridge Destination

Property Name

Default Value

 Notes

NameThe name from the list is used by default.
AdapterJNDINameeis.jms.WLSConnectionFactoryJNDIXA
ConnectionUrlEmpty Value
DestinationTypeQueue(Queue | Topic)
Notes<not set>
Password<not set>
UserName<not set>
Partition<not set>
ResourceGroup<not set>
ResourceGroupTemplate

<not set>


Bridge and Bridge Destination Example
BridgeDestinationList=myBridgeSource,myBridgeDestination
BridgeList=myBridge

myBridgeSource.ConnectionFactoryJNDIName=jms/cf1
myBridgeSource.DestinationJNDIName=jms/q1
myBridgeSource.DestinationType=Queue
myBridgeSource.UserName=user
myBridgeSource.Password=password
myBridgeSource.Notes=some notes are in here.
myBridgeSource.ConnectionUrl=t3://soalt06:7001

myBridgeDestination.ConnectionFactoryJNDIName=/jms/cf2
myBridgeDestination.DestinationJNDIName=jms/q1
myBridgeDestination.DestinationType=Queue
myBridgeDestination.UserName=user
myBridgeDestination.Password=password
myBridgeDestination.Notes=some notes are in here.
myBridgeDestination.ConnectionUrl=t3://soalt08:7001

myBridge.Targets=AdminServer
myBridge.SourceDestination=myBridgeSource
myBridge.TargetDestination=myBridgeDestination
myBridge.Started=true