ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 15 matches
Author Message
  Topic: Receiving variable length message over TCPIP
mjain

Replies: 4
Views: 3141

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 04, 2012 11:48 pm   Subject: Receiving variable length message over TCPIP
Thanks Pepero....
Even I thought of same way and was succesfully able to test it as well. But I was not sure if its good way to have two receive nodes.
  Topic: Receiving variable length message over TCPIP
mjain

Replies: 4
Views: 3141

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 04, 2012 6:42 am   Subject: Receiving variable length message over TCPIP
Hi,
I have a message flow which sends data to remote host over TCPIPCLientOutput node and receives the response through TCPIPClientReceive node. The response is not a fixed length data but message le ...
  Topic: Converting Message Length to Binary
mjain

Replies: 12
Views: 8178

PostForum: WebSphere Message Broker (ACE) Support   Posted: Sun Aug 26, 2012 4:30 am   Subject: Converting Message Length to Binary
Hi McueMart.....Thanks so much....Sory for delayed response though.
I used wire shark and it helped locating the issue. I changed the whole message body to blob and appending the length (as integer o ...
  Topic: Converting Message Length to Binary
mjain

Replies: 12
Views: 8178

PostForum: WebSphere Message Broker (ACE) Support   Posted: Sat Aug 11, 2012 4:44 am   Subject: Converting Message Length to Binary
Hi McueMart....thanks....
Sounds better approach to me as well.....I modified my code as below to test it....

DECLARE byteMsgLen BLOB SUBSTRING(CAST(333 AS BLOB) FROM 7 FOR 2);
...
  Topic: Converting Message Length to Binary
mjain

Replies: 12
Views: 8178

PostForum: WebSphere Message Broker (ACE) Support   Posted: Sat Aug 11, 2012 2:13 am   Subject: Converting Message Length to Binary
Here is the C code snippet if it helps.....

int msgLength;
struct timeval TimeOutB24;
fd_set ReadfdsB24;

union msgHeader
...
  Topic: Converting Message Length to Binary
mjain

Replies: 12
Views: 8178

PostForum: WebSphere Message Broker (ACE) Support   Posted: Sat Aug 11, 2012 1:54 am   Subject: Converting Message Length to Binary
Hi mqjeff.......
I believe they are expecting Bin Endian integer.....as I have a C program running on he same server (where message broker runs) and it passes the length as unsignedshort (which is 2 ...
  Topic: Converting Message Length to Binary
mjain

Replies: 12
Views: 8178

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Aug 09, 2012 5:35 am   Subject: Converting Message Length to Binary
Thanks for reply mqjeff....
Even I had the same impression....but was not sure about the type of the element(representing length) in my message definition so that it is sent as binary field of 2 byte ...
  Topic: Converting Message Length to Binary
mjain

Replies: 12
Views: 8178

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Aug 09, 2012 5:24 am   Subject: Converting Message Length to Binary
Thanks smdavies99,
Actually the requirement from backend is to receive the length as binary in first two bytes and the remaining message body as character stream.....I know it might sound strange.... ...
  Topic: Converting Message Length to Binary
mjain

Replies: 12
Views: 8178

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Aug 09, 2012 2:48 am   Subject: Converting Message Length to Binary
Hi,
I am trying o communicate to a backend system caled B24 over TCP/IP and getting error "No Valid Connection Acquired". As per b24 team, the message they are expecting is a character stre ...
  Topic: How to delete a file in MessageFlow.??????
mjain

Replies: 18
Views: 8893

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue May 08, 2012 1:56 am   Subject: How to delete a file in MessageFlow.??????
Is suggested to use JCN for IO operations. You can have a java class and use JCN to get the task done.
  Topic: Code Page issue with UTF-8
mjain

Replies: 14
Views: 20225

PostForum: WebSphere Message Broker (ACE) Support   Posted: Mon May 07, 2012 1:39 am   Subject: Code Page issue with UTF-8
What is your Input node? If its a TCP node, as mentioned by rekarm01 it should be set by the node

Yes, its TCP node. I also tried using the CCSID set by the node, but that changes the arabic charac ...
  Topic: Code Page issue with UTF-8
mjain

Replies: 14
Views: 20225

PostForum: WebSphere Message Broker (ACE) Support   Posted: Sun May 06, 2012 4:55 am   Subject: Code Page issue with UTF-8
Thanks for your comment Rekarm,
I thought if I need to encode integers as 546 I'll need to use the asbitstream (First line of my code).
You are right, its indeed a arabic character which is two byt ...
  Topic: Code Page issue with UTF-8
mjain

Replies: 14
Views: 20225

PostForum: WebSphere Message Broker (ACE) Support   Posted: Wed May 02, 2012 12:06 am   Subject: Code Page issue with UTF-8
Thanks again Esa.
Fist line is required to create envionment variable used by loggging subflow...neways looking at error trace I think its 'd8' which is mentioned unconvertible. I would check with th ...
  Topic: Code Page issue with UTF-8
mjain

Replies: 14
Views: 20225

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue May 01, 2012 11:40 pm   Subject: Code Page issue with UTF-8
Hi Esa,
Thanks for your reply. You r right. Since now when I am getting data in UTF-8 itself I do not need to convert any encoding. But I still need to cast it to character stream for further process ...
  Topic: Code Page issue with UTF-8
mjain

Replies: 14
Views: 20225

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue May 01, 2012 10:17 pm   Subject: Code Page issue with UTF-8
Hi,
We have a message flow which recevies data from backend system 'Finacle' over TCP/IP. Earlier the data was sent in ASMO - 708 encoding by Finacle and now they claim to have changed it to UTF-8. T ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.