Howto set TargetClient in the JMSBC

4 messages Options
Embed this post
Permalink
Marco Piraccini

Howto set TargetClient in the JMSBC

Reply Threaded More More options
Print post
Permalink
Hi guys,

We have to use a Websphere MQ Queue using the JMSBC. We have to set  
the TargetClient to avoid that the message are enveloped in a JMS  
envelope MQRFH2.
According with the JMSBC documentation we can do that setting the User  
Properties in a BPEL Assign. We tried with:

<copy>
<from>'JMSC.MQJMS_CLIENT_NONJMS_MQ'</from>
<to variable="JMSOutOperationIn"
sxnmp:nmProperty="org.glassfish.openesb.jms.userproperties.targetClient"/>
</copy>

and

<copy>
<from>'1'</from>
<to variable="JMSOutOperationIn"
sxnmp:nmProperty="org.glassfish.openesb.jms.userproperties.targetClient"/>
</copy>

But both didn't work. What's wrong in our "copy"?

Marco.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

SujitBiswas

Re: Howto set TargetClient in the JMSBC

Reply Threaded More More options
Print post
Permalink
Hi Marco,

trying to understand the scenario, the jms message which was sent did
not have the userproperties after the mapping was done? , can you please
attach the project.

-Sujit

[hidden email] wrote:

> Hi guys,
>
> We have to use a Websphere MQ Queue using the JMSBC. We have to set
> the TargetClient to avoid that the message are enveloped in a JMS
> envelope MQRFH2.
> According with the JMSBC documentation we can do that setting the User
> Properties in a BPEL Assign. We tried with:
>
> <copy>
> <from>'JMSC.MQJMS_CLIENT_NONJMS_MQ'</from>
> <to variable="JMSOutOperationIn"
> sxnmp:nmProperty="org.glassfish.openesb.jms.userproperties.targetClient"/>
>
> </copy>
>
> and
>
> <copy>
> <from>'1'</from>
> <to variable="JMSOutOperationIn"
> sxnmp:nmProperty="org.glassfish.openesb.jms.userproperties.targetClient"/>
>
> </copy>
>
> But both didn't work. What's wrong in our "copy"?
>
> Marco.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Marco Piraccini

Re: Howto set TargetClient in the JMSBC

Reply Threaded More More options
Print post
Permalink
Hi Sujit,

Our goal is to set the TargetClient queue property to  
JMSC.MQJMS_CLIENT_NONJMS_MQ (to understand why, see:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj25510_.htm)

I tried with the User Properties in a BPEL assign, but i realized that  
wasn't the correct way.
I'ts possibile to set this option in the jmsbc WSDL extensions? (i  
tried in the wmq://url, but it didn't worked).

Marco.

Quoting Sujit Biswas <[hidden email]>:

> Hi Marco,
>
> trying to understand the scenario, the jms message which was sent did
> not have the userproperties after the mapping was done? , can you
> please attach the project.
>
> -Sujit
>
> [hidden email] wrote:
>> Hi guys,
>>
>> We have to use a Websphere MQ Queue using the JMSBC. We have to set  
>>  the TargetClient to avoid that the message are enveloped in a JMS  
>> envelope MQRFH2.
>> According with the JMSBC documentation we can do that setting the  
>> User Properties in a BPEL Assign. We tried with:
>>
>> <copy>
>> <from>'JMSC.MQJMS_CLIENT_NONJMS_MQ'</from>
>> <to variable="JMSOutOperationIn"
>> sxnmp:nmProperty="org.glassfish.openesb.jms.userproperties.targetClient"/>  
>> </copy>
>>
>> and
>>
>> <copy>
>> <from>'1'</from>
>> <to variable="JMSOutOperationIn"
>> sxnmp:nmProperty="org.glassfish.openesb.jms.userproperties.targetClient"/>  
>> </copy>
>>
>> But both didn't work. What's wrong in our "copy"?
>>
>> Marco.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

SujitBiswas

Re: Howto set TargetClient in the JMSBC

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi Marco,

have you tried the Queue name option for this , example setting the queue name like the following

queue://HOST1.QM1/Q1?targetClient=1
or queue:///Q1?targetClient=1  //this assumes queue manager to which the owning QueueConnection is connected.

Thanks,
Sujit


[hidden email] wrote:
Hi Sujit,

Our goal is to set the TargetClient queue property to JMSC.MQJMS_CLIENT_NONJMS_MQ (to understand why, see:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj25510_.htm)

I tried with the User Properties in a BPEL assign, but i realized that wasn't the correct way.
I'ts possibile to set this option in the jmsbc WSDL extensions? (i tried in the wmq://url, but it didn't worked).

Marco.

Quoting Sujit Biswas [hidden email]:

Hi Marco,

trying to understand the scenario, the jms message which was sent did
not have the userproperties after the mapping was done? , can you
please attach the project.

-Sujit

[hidden email] wrote:
Hi guys,

We have to use a Websphere MQ Queue using the JMSBC. We have to set  the TargetClient to avoid that the message are enveloped in a JMS  envelope MQRFH2.
According with the JMSBC documentation we can do that setting the  User Properties in a BPEL Assign. We tried with:

<copy>
<from>'JMSC.MQJMS_CLIENT_NONJMS_MQ'</from>
<to variable="JMSOutOperationIn"
sxnmp:nmProperty="org.glassfish.openesb.jms.userproperties.targetClient"/>  </copy>

and

<copy>
<from>'1'</from>
<to variable="JMSOutOperationIn"
sxnmp:nmProperty="org.glassfish.openesb.jms.userproperties.targetClient"/>  </copy>

But both didn't work. What's wrong in our "copy"?

Marco.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]