From the BPEL Designer Palette, drag a Receive activity to the drop point.
Click the Edit icon above the new Receive activity.
Enter a name for the activity.
In the Partner Link field, select the JMS Partner Link you created earlier.
In the Operation field, select the JMS subscriber operation.
Next to the Input Variable field, select Create.
The New Input Variable dialog box appears.
Enter a name for the variable and select the current BPEL process as the Scope.
Click OK on both dialog boxes.
Continue to To Create an Invoke Activity.