Picon

Access Context from current thread

Hi all,

Is there anyway to access the transaction manager Context from the  
currently running thread? The reason I am asking is hibernate has a  
plug-able CurrentSessionContext. If the Context could be plucked from  
the thread then you could grab a hibernate Session out of the context  
to enable long running transactions. I can see this being useful in  
ways other than with just hibernate.

-Anthony 

------------------------------------

sandeep.patil1984 | 6 May 15:07
Picon

Can Call EJB from Q2

HI
I want to call EJB from q2
Can i do this?

Sandeep

------------------------------------

Suvodip Mukherjee | 29 Apr 19:21
Favicon

How to get bitmap field values

Hi,
Any idea how to get the primary and secondary bitmap values using jpos.
I am trying to search for these values by using ISOMsg.hasField(1) and
ISOMsg.hasField(1).
However, the bitmap fields are not found. Please help.

Thanks & regards,
Suvodip

<http://geo.yahoo.com/serv?s=97359714/grpId=293577/grpspId=1705006764/ms
gId=7907/stime=1209489560/nc1=4507179/nc2=3848641/nc3=5202322> 

*****************************************************
This email is issued by a VocaLink group company. It is confidential and intended for the exclusive use of
the addressee only. You should not disclose its contents to any other person. If you are not the addressee
(or responsible for delivery of the message to the addressee), please notify the originator immediately
by return message and destroy the original message. The contents of this email will have no contractual
effect unless it is otherwise agreed between a specific VocaLink group company and the recipient.

The VocaLink group companies include, among others: VocaLink Limited (Company No 06119048, VAT No. 907
9619 87) which is registered in England and Wales at registered office Drake House, Homestead Road,
Rickmansworth, WD3 1FX. United Kingdom, Voca Limited (Company no 1023742, VAT No. 907 9619 87) which is
registered in England and Wales at registered office Drake House, Three Rivers Court, Homestead Road,
Rickmansworth, Hertfordshire. WD3 1FX. United Kingdom, LINK Interchange Network Limited (Company No
3565766, VAT No. 907 9619 87) which is registered in England and Wales at registered office Arundel House,
1 Liverpool Gardens, Worthing, West Sussex, BN11 1SL and VocaLink Holdings Limited (Company No
06119036, VAT No. 907 9619 87) which is registered in England and Wales at registered off
 ice Drake House, Homestead Road, Rickmansworth, WD3 1FX. United Kingdom.

The views and opinions expressed in this email may not reflect those of any member of the VocaLink group.
(Continue reading)

Favicon

OFF MAIL LIST

How can I get off this list?

Thanks.

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web

------------------------------------

puntodeacceso | 24 Apr 21:14
Picon

Cant make my packager log

Hi, i need some help with this; dont know whats wrong with my channel 
configuration:

   <channel name="my.channel"
          class="org.jpos.iso.channel.ASCIIChannel"
          packager="org.jpos.iso.packager.ISO87APackager"
          timeout="10000"
          type="client" connect="no" logger="traffic" realm="myreal"
          packager-logger="traffic" packager-realm="debug">

But the packager doesn´t generate any log output.
Thanks in advance

Juan Pablo

------------------------------------

elk007007 | 13 Apr 17:38
Picon
Favicon

Does the ServerChannel process multiple request sended through an ISOMUX ? Opcio

Hi JPOS Users: 

I have a ServerChannel listening on port 6664, and in other class i 
have a ISOMUX connected to that serverChannel. The problem is that 
when i try to send through ISOMUX simultaneous request they are 
queued 
ok, but the process method on the ServerChannel side take control on 
each request one by one, not in a simultaneous way. I mean when 
ServerChannel receive simultaneous request through  the same TCP 
session it does not process them in a Multithread enviroment? My 
result is that ServerChannel process them one by one. 

How can i do in order to improve the ServerChannel side to 
manipulate 
simultaneous request in the same TCP session. 

Att, 

Elkin David Beltrán Duque 
Software Developer
Colombia

------------------------------------

johnnyoverland | 16 Mar 00:38

Nonstandard MTI 1820

I am working through our field trial of jPos and came across a minor 
problem which I am trying to determine the best way to resolve.

I have an 1820 coming into our jPos switch which is forwarded on to an 
existing 8583 switch. This swith receives the 1820 and responds with an 
MTI of 1824 (nonstandard I believe) jPos seems to be looking for an MTI 
of 1830.

For example, if I use my echoServer which receives any msg and only 
sets the outgoing MTI (1820->1830) everything works fine.  However, if 
I send the exact same message to my existing switch the TXN times out 
even though the switch returned the message (as an 1824).  The <key> 
that I am using is the STAN (field 11) and that is returned intact but 
jPos does not recognize this and the TXN eventually falls into my 
unhandled queue.

I did not think that the MUX looked at the MTI but I must be mistaken.

I am thinking of running a channel monitor to look for 1830's and 
change them into 1824's but before I set out on that path I thought I 
would see if you have a more elegant way of correcting this issue or if 
I am just missing something that should be obvious.

Thanks,

-John

========================================================================
Groups related to jpos-dev		                       	
========================================================================
(Continue reading)

horacioaeg | 5 Mar 18:53
Picon
Favicon

Doubt on receiving a response

Hello, I'll try to be as clear as I can. My application only needs to
send 0200 and receive 0210, and also if something goes wrong, send a
reverse 0420 and receive 0430. 

My custom packager is already set up according to me ISO
specifications, my doubt is when I send this ISOMsg what's the best
way of listening for a response, I'll need to have a not so big
timeout, since the user is on the other side waiting on the telephone
for a response. 

Is it better to use channel.receive()? I don't think mux is the answer
since I won't get multiple connections even though many users will use
the application simultaneously, do I need to thread this receive() to
get it to timeout?

Thanks a lot

 
tasbihmr | 24 Feb 15:06
Picon
Favicon

the genericpackager example

Dear All,

As you know, there is an example for the ISOPackager in the jPOS 
download called the genericpackager. What is the format of the file 
which is supposed to go with anyone of the packagers ? I mean, there 
are many package descriptors in the xml format, but I cannot find 
anyone of them fitting to the hexdump of the iso message which I have, 
so I am asking, could you give an example of a message which could be 
interpretted by anyone of the xml files ?
Also, there is supposed to be no TPDU in the message ?

Regards,
tasbihmr

 
tasbihmr | 24 Feb 13:03
Picon
Favicon

using jPOS to parse messages of serial port

Dear All,
I have previously also posted about reading and writing from serial 
port. Now since I have also looked at the jPOS again very recently, I 
have a new question. How can we pass the data read from serial port in 
hexadecimal format, and parse this via jPOS? As you know, the ISO 
message has many parts, there is also the header or TPDU, and there is 
bitmap which itself has a lot of meaning and each it signifies 
something, a component for example. Can you give me a good example of 
parsing a message such as this, provided we know the length and content 
of each field ?
Thank you in advance,
tasbihmr

 
tasbihmr | 16 Feb 19:01
Picon
Favicon

reading from Serial Port (com port 1 to 10)

Dear All,

After thanking all those who are the contributors to this very 
informative and useful Java tool, I would like to ask that if there a 
sample code that can read and write the transaction to the serial port, 
i.e, simply read from a given port and write back to the same port. Has 
this tool been already developed ? I think it would be very useful 
because there are so many things out there (hardware as well), which 
are very able to communicate in serial.

Regards and thanks,
tasbihmr 

 

Gmane