|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
[jpos-users] is it possible configure a channel with two or more packager?Hi, I have to get two kind of ISO message and both of them must be processed. I have been reading JPosGuide about filter but I don´t believe that it is the solution. is it necessary I develop a custom channel? Thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packager?I mean, is it possible configure a channel with one or more packager- config property? On 2 oct, 11:35, Jaime Vizán González <jaime.vi...@...> wrote: > Hi, > > I have to get two kind of ISO message and both of them must be > processed. I have been reading JPosGuide about filter but I don´t > believe that it is the solution. is it necessary I develop a custom > channel? > > Thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packager?Miscelanea wrote: > I mean, is it possible configure a channel with one or more packager- > config property? Not as things stand. You would also need to configure the selection trigger - for one packager or the other. Out of interest, how would you know which message type arrived - so you could steer the packager choice -- Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packagers?The two kinds of messages have the same header but their body is completely different. Inside the header, the type of message is informed in a concrete bit. Is it possible to make a ISOMsg in two steps? First, I could read the header with a heading packager. When i have the type bit I could read the body with the appropriate packager. El 02/10/2009, a las 19:51, Mark Salter escribió: > > Miscelanea wrote: >> I mean, is it possible configure a channel with one or more packager- >> config property? > Not as things stand. > > You would also need to configure the selection trigger - for one > packager or the other. > > Out of interest, how would you know which message type arrived - so > you > could steer the packager choice > > > -- > Mark > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packagers?Please have a look at BaseChannel's getDynamicPackager method.
You can create a channel that could override that method and figure out what packager to use depending on the message content. Hope that helps. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packagers?Hi, Alejandro. I have created a new channel which extends ASCIIChannel and I have redefined the getDynamicPackager (byte[] image) method but I have found a new problem, in the image argument isn´t the header. Only, in the image argument is the body. El 02/10/2009, a las 23:58, Alejandro Revilla escribió: > Please have a look at BaseChannel's getDynamicPackager method. > > You can create a channel that could override that method and figure > out what packager to use depending on the message content. > > Hope that helps. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packagers?Good point. I think we need to change the signature of getDynamicPackager(byte[] image) to something like
getDynamicPackager(byte[] header, byte[] image). Would that work for you?
2009/10/3 Jaime Vizán González <jaime.vizan@...>
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packagers?Jaime, I went ahead and added a protected ISOPackager getDynamicPackager (byte[] header, byte[] image) in r2791. Hope this helps. Are you using jPOS or jPOS-EE? If you're using jPOS-EE just let me know and I can update the modules/ jpos/lib/jpos.jar with the new version, otherwise I'll wait for more changes. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packagers?Ok, Im using JPOs. Thanks El 03/10/2009, a las 19:00, apr escribió: > > Jaime, > > I went ahead and added a protected ISOPackager getDynamicPackager > (byte[] header, byte[] image) in r2791. > > Hope this helps. > > Are you using jPOS or jPOS-EE? > > If you're using jPOS-EE just let me know and I can update the modules/ > jpos/lib/jpos.jar with the new version, otherwise I'll wait for more > changes. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packagers?Jaime Vizán González wrote: > Ok, Im using JPOs. Ok, so Alejandro's change should really help you get to your goal. I have (just - r2793) committed a small change to ensure the receive method uses the new getDynamicPackager(header, image) method. The base implementation of which calls the previous version to provide backward compatibility. -- Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: is it possible configure a channel with two or more packagers?Hey Mark, thank you for r2793, I neglected to add the most important part of the patch!
On Sun, Oct 4, 2009 at 9:30 AM, Mark Salter <marksalter@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |