Restoring B2B Business Messages
22.2.2 Enqueue—Using a JMS JCA Adapter or Custom Utilities
The properties used by the AQ and JMS utilities are translated internally before the message is sent to the destination. Ensure that the properties in Table 22–4 are set as part of the javax.jms.Message delivered to the destination that B2B listens on.22.2.3 JMS Dequeue
The JMS dequeue utility, oracle.tip.b2b.data.JMSDequeue, receives messages from the destination. The count property can be specified to control the number of messages to be picked up from the destination. Retrieved messages are written to the file JMSDequeue.txt at the current path where you run the utility. See the samples documentation on Oracle Technology Network for how to run these utilities. Example 22–2 shows the sample JMS dequeue properties file. Example 22–2 Sample jms_dequeue.properties File Destination Details destination = jmsb2bB2B_IN_QUEUE cf = jmsb2bB2BQueueConnectionFactory count=1 Server and Factory Details factory=weblogic.jndi.WLInitialContextFactory url=t3:host_name:port_number user=uncomment and provide your username password=uncomment and provide your password if required Table 22–4 How AQJMS Properties Are Translated for Custom Utilities AQJMS Utilities Translated Value—For Custom Utilities JMS Message from FROM_PARTY Sent as a string type message property to TO_PARTY Sent as a string type message property doctypeName DOCTYPE_NAME Sent as a string type message property doctypeRevision DOCTYPE_REVISION Sent as a string type message property eventName ACTION_NAME Sent as a string type message property msgID MSG_ID Sent as a string type message property replyToMsgID INREPLYTO_MSG_ID Sent as a string type message property msgType MSG_TYPE Sent as a string type message property attachment ATTACHMENT Sent as a string type message property payload - Sent as the message body 22-6 Oracle Fusion Middleware Users Guide for Oracle B2B22.3 Using the attachmentsDescriptor.xsd
Use the attachmentsDescriptor.xsd file for sending attachments. Example 22–3 shows a sample attachment XML file. Example 22–3 Sample Attachment XML File ?xml version=1.0 encoding=ISO-8859-1? --Sample XML file generated by XMLSpy v2005 sp1 U http:www.xmlspy.com-- Attachments xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:noNamespaceSchemaLocation=AttachmentsDescriptor.xsd version=1.0 boundary=boundary--- AttachmentPart Locationfile:homeuser_dirdata.xmlLocation Content-Type Top-Level-TypetextTop-Level-Type Sub-TypeplainSub-Type Parameter Value=charset Name=us-ascii Content-Type --Content-Transfer-EncodingBASE64Content-Transfer-Encoding-- Content-ID Content-Description AttachmentPart AttachmentsParts
» Oracle Fusion Middleware Online Documentation Library
» Oracle B2B and Business-to-Business E-Commerce Protocols Supported in Oracle B2B
» Payload Obfuscation Security Features of Oracle B2B
» Restricting Access to Document Types
» What You Need to Get Started with Oracle B2B
» Log in to the console. In the Domain Structure pane, shown in
» Accessing Oracle B2B Through Single Sign-On SSO
» Administration Partners Reports Using the Oracle B2B Interface
» Creating a B2B Transaction: An Overview of the Process Flow
» If Oracle JDeveloper is running for the first time, specify the location for the Java
» Create a new SOA composite application, as described in
» On the Name your application page, you can optionally change the name and
» From the Component Palette, select SOA.
» From the Service Components list, drag a component into the designer.
» Click OK. How To Use B2B Binding Components in a SOA Composite Application
» Select Save All from the File main menu.
» Drag B2B to the Exposed Services or the External References swim lane.
» On the Operation page, select Send or Receive, as described in
» On the Document Definition Handling page, select the option on the Basic tab or
» On the Finish page, click Finish.
» Click Finish. How To Use B2B Binding Components in a SOA Composite Application
» If you selected Oracle WebLogic JMS or Oracle Advanced Queuing, then the
» If you selected Send in Step 7, then the Produce Operation Parameters page
» About Using the JMS Integration Type in the B2B Configuration Wizard
» Enabling Debug Mode at Run Time Logging Out: SSO Logout Configuration for Oracle Access Manager
» Introduction to Oracle B2B Document Editor
» Installing Oracle B2B Document Editor Creating Guideline Files: EDIFACT D98 Example
» The Document Hierarchy Introduction to Document Protocols
» Creating Document Definitions Oracle Fusion Middleware Online Documentation Library
» Deleting a Document Definition
» Introduction to Trading Partners Creating Trading Partner Profiles
» Adding Trading Partner Users
» Adding Document Definitions Oracle Fusion Middleware Online Documentation Library
» About MLLP Configuring Channels
» Message Sequencing Configuring Channels
» Using Transport Sync Callback
» Correlating Messages Using JMS Queues
» Configuring Delivery Retry Options
» Using the Auto Create Agreement Feature
» Using Identifiers for Trading Partner Lookup Scheduling Trading Partner Downtime
» Broadcasting Messages to Multiple Trading Partners
» Introduction to Agreements Oracle Fusion Middleware Online Documentation Library
» Creating an Agreement Oracle Fusion Middleware Online Documentation Library
» Deleting and Exporting Agreements
» Importing and Exporting the Design-Time Repository
» Exported ZIP Files Containing Agreement Names in Multibyte Character Languages
» How to Configure the XPath Expression for a Custom XML Document
» Using the EDI EDIFACT Document Protocol
» Using the EDI X12 Document Protocol
» Using the HL7 Document Protocol
» Using the OAG Document Protocol
» Using the Positional Flat File Document Protocol
» PIPs Using the RosettaNet Document Protocol
» Changing Document Definitions After Deploying an Agreement
» Changing Document Definitions After Importing Metadata
» Introduction to Agreement Deployment States
» Click Export. Exporting an Active Agreement
» Creating Custom Identifier Types
» Creating Custom Contact Information Types
» Creating Custom Trading Partner Parameter Types
» Managing Batched Messages Oracle Fusion Middleware Online Documentation Library
» Introduction to Scheduling Trading Partner Downtime Scheduling Trading Partner Downtime
» Deleting Scheduled Downtime Oracle Fusion Middleware Online Documentation Library
» Overlapping Schedules Extending Trading Partner Downtime
» Transport Callouts Introduction to Callouts
» Creating a Callout Oracle Fusion Middleware Online Documentation Library
» Including a Callout in an Agreement
» Implementing a Callout Oracle Fusion Middleware Online Documentation Library
» Purging Design Metadata and Instance Data
» Adding a Listening Channel and Protocol
» Using Transport Protocols Oracle Fusion Middleware Online Documentation Library
» Transport Protocol Parameters Adding Listening Channel Details
» Channel Attributes Exchange Protocol Parameters Security Parameters
» Configuring a Listening Channel Configuring Document Sequencing
» Setting Configuration Parameters Oracle Fusion Middleware Online Documentation Library
» Creating Business Message Reports
» Creating Wire Message Reports
» Creating Application Message Reports
» Creating Error Reports Oracle Fusion Middleware Online Documentation Library
» Creating Conversation Reports Oracle Fusion Middleware Online Documentation Library
» Prerequisites for Running the Command-line Tools
» Archiving Data Oracle Fusion Middleware Online Documentation Library
» Purging Data Oracle Fusion Middleware Online Documentation Library
» Importing Data Oracle Fusion Middleware Online Documentation Library
» Exporting Data Oracle Fusion Middleware Online Documentation Library
» Batching Operations Oracle Fusion Middleware Online Documentation Library
» Deploying Agreements Oracle Fusion Middleware Online Documentation Library
» Creating CPPCPA Properties Templates
» Validating B2B Metadata Verifying Agreement Availability
» Document Protocols selfservice XML files.
» Resubmitting a Message Oracle Fusion Middleware Online Documentation Library
» Scheduling Trading Partner Downtime
» Managing the Keystore Oracle Fusion Middleware Online Documentation Library
» Errors During Import Oracle Fusion Middleware Online Documentation Library
» Introduction to Oracle B2B Web Services
» Using the Outbound Web Service Using the Translation Web Service
» Is Trading Partner Agreement Setup Parameters
» Get Trading Partner Agreement Information Parameters
» Securing Oracle B2B Web Services
» Introduction to Archiving and Restoring B2B Business Messages Archiving B2B Business Messages
» Restoring B2B Business Messages
» AQ Enqueue AQ Enqueue and Dequeue Utilities
» AQ Dequeue AQ Enqueue and Dequeue Utilities
» JMS Enqueue JMS Enqueue and Dequeue Utilities
» Enqueue—Using a JMS JCA Adapter or Custom Utilities JMS Dequeue
» Using the attachmentsDescriptor.xsd
» Click New, and go to the list of JMS resources.
» Select the Foreign Server option, and click Next.
» Enter a Name for the Foreign Server for example, BAMAQForeignServer,
» Enter oracle.jms.AQjmsInitialContextFactory in the JNDI Initial
» Enter datasource=data_source_jndi_location In the JNDI Properties
» Check the Default Targeting Enabled checkbox.
» Select the Connection Factories ta
» Enter QueueConnectionFactory in the Remote JNDI Name field. Click OK.
» Mapping Oracle B2B Instance Messages to Oracle BAM Data Objects
» Creating a Dashboard to Monitor Oracle B2B
» Enabling the Oracle BAM Integration in Oracle B2B
» Programmatically Accessing Instance Message Data
» Declare the Variable_largePayload variable in an outbound BPEL process in the
» In the Assign activity, copy true into the variable.
» Assign the variable to b2b.largePayload in the Invoke activity.
» If you are doing large payload testing, set Show Payload on the Administration
» For an outbound SOA composite, always select the Use file streaming option for
» Create a test JMS module as shown in
» Install Weblogic server and SOA server.
» Navigate to Foreign JNDI Providers under Services on the left-hand navigation
Show more